Set up path for local modules
authorJeremy Harris <jgh@wizmail.org>
Sun, 13 Nov 2016 14:07:03 +0000 (14:07 +0000)
committerJeremy Harris <jgh@wizmail.org>
Sun, 13 Nov 2016 14:07:03 +0000 (14:07 +0000)
run_build

index b1c063f8a1c00ef1d03b9c346048bbcc5754be08..c5584c92b1108c9cf34b69aa7520fb1c0b0cdc84 100755 (executable)
--- a/run_build
+++ b/run_build
@@ -72,6 +72,7 @@ BEGIN
             : 'xxxxxx'
         );
     }
+    push @INC, getcwd();
 }
 
 use EximBuild::SCM;
@@ -91,7 +92,6 @@ if (umask != 022) {
 
 my %module_hooks;
 my $orig_dir = getcwd();
-push @INC, $orig_dir;
 
 # make sure we exit nicely on any normal interrupt
 # so the cleanup handler gets called.