t: Replace 'perl' by $PERL_PATH
[gitweb.git] / t / t7508-status.sh
index 28e184829c0f12d4060f0b793db8511259bef91e..5e9160f807c3325466624e0e43bd2788b0d4c69b 100755 (executable)
@@ -941,7 +941,7 @@ test_expect_success 'status -s submodule summary (clean submodule)' '
 
 test_expect_success 'status -z implies porcelain' '
        git status --porcelain |
-       perl -pe "s/\012/\000/g" >expect &&
+       $PERL_PATH -pe "s/\012/\000/g" >expect &&
        git status -z >output &&
        test_cmp expect output
 '