t: Replace 'perl' by $PERL_PATH
[gitweb.git] / t / t4029-diff-trailing-space.sh
index 3ccc237a8d4443bfc8763fbb9cb51033f846b0e8..7f7f504ab90da5732c8a7f41f69c5538865bd89e 100755 (executable)
@@ -27,7 +27,7 @@ test_expect_success \
      git config --bool diff.suppressBlankEmpty true &&
      git diff f > actual &&
      test_cmp exp actual &&
-     perl -i.bak -p -e "s/^\$/ /" exp &&
+     $PERL_PATH -i.bak -p -e "s/^\$/ /" exp &&
      git config --bool diff.suppressBlankEmpty false &&
      git diff f > actual &&
      test_cmp exp actual &&