Use $GITPERLLIB instead of $RUNNING_GIT_TESTS and centralize @INC munging
[gitweb.git] / t / annotate-tests.sh
index c04f0e1540794c3d4d950c158beee249ba98b726..1148b0257dafd4e9b63e030052b47b527b5c0d3b 100644 (file)
@@ -111,7 +111,7 @@ test_expect_success \
 
 test_expect_success \
     'some edit' \
-    'perl -pi -e "s/^1A.*\n$//; s/^3A/99/" file &&
+    'perl -p -i.orig -e "s/^1A.*\n$//; s/^3A/99/" file &&
     GIT_AUTHOR_NAME="D" git commit -a -m "edit"'
 
 test_expect_success \