t: Replace 'perl' by $PERL_PATH
[gitweb.git] / t / t4031-diff-rewrite-binary.sh
index c8296fa4fc1fbfe2645554d4818ae586d1cc2a14..e8ee06e29cf2592e12aeb8043a671e28e335399b 100755 (executable)
@@ -60,7 +60,7 @@ test_expect_success 'diff --stat counts binary rewrite as 0 lines' '
 {
        echo "#!$SHELL_PATH"
        cat <<'EOF'
-perl -e '$/ = undef; $_ = <>; s/./ord($&)/ge; print $_' < "$1"
+$PERL_PATH -e '$/ = undef; $_ = <>; s/./ord($&)/ge; print $_' < "$1"
 EOF
 } >dump
 chmod +x dump