t: Replace 'perl' by $PERL_PATH
[gitweb.git] / t / t9350-fast-export.sh
index b00196bd238f538f78ce421979e725ce501e84e1..6b6dc20fa4360f526fea34e872bf767c1b6a4be9 100755 (executable)
@@ -424,7 +424,7 @@ test_expect_success 'fast-export quotes pathnames' '
                --cacheinfo 100644 $blob "path with \\backslash" \
                --cacheinfo 100644 $blob "path with space" &&
         git commit -m addition &&
-        git ls-files -z -s | perl -0pe "s{\\t}{$&subdir/}" >index &&
+        git ls-files -z -s | $PERL_PATH -0pe "s{\\t}{$&subdir/}" >index &&
         git read-tree --empty &&
         git update-index -z --index-info <index &&
         git commit -m rename &&