Code

Perly Git: make sure we do test the freshly built one.
[git.git] / git-mv.perl
index a60489617e517d02b824f14815c2be61209df6b6..5134b805a5f69afc127f9904161948773c5df41b 100755 (executable)
@@ -6,7 +6,11 @@
 # This file is licensed under the GPL v2, or a later version
 # at the discretion of Linus Torvalds.
 
-BEGIN { unshift @INC, '@@INSTLIBDIR@@'; }
+BEGIN {
+       unless (exists $ENV{'RUNNING_GIT_TESTS'}) {
+               unshift @INC, '@@INSTLIBDIR@@';
+       }
+}
 use warnings;
 use strict;
 use Getopt::Std;