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