t4130: work around Windows limitation
[gitweb.git] / t / t6011-rev-list-with-bad-commit.sh
index bbb0581f88a874c74e296754544300544429ccc4..e51eb41f4b9575d2b51d8d4d255ff5ab7a0889ad 100755 (executable)
@@ -37,7 +37,7 @@ test_expect_success 'verify number of revisions' \
 
 test_expect_success 'corrupt second commit object' \
    '
-   "$PERL_PATH" -i.bak -pe "s/second commit/socond commit/" .git/objects/pack/*.pack &&
+   perl -i.bak -pe "s/second commit/socond commit/" .git/objects/pack/*.pack &&
    test_must_fail git fsck --full
    '