Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 3 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 6 additions and 0 deletions.
  1. +2 −0 Changes
  2. +4 −0 lib/Dist/Zilla/Dist/Builder.pm
View
2 Changes
@@ -1,6 +1,8 @@
Revision history for {{$dist->name}}
{{$NEXT}}
+ 'dzil run' also edits $PATH to include ExecDir directories (Karen
+ Etheridge)
4.300021 2012-07-31 23:20:50 America/New_York
plugins can now provide a MANIFEST.SKIP that can be processed by
View
4 lib/Dist/Zilla/Dist/Builder.pm
@@ -711,6 +711,10 @@ sub run_in_build {
(map { $abstarget->subdir('blib', $_) } qw(arch lib)),
(defined $ENV{PERL5LIB} ? $ENV{PERL5LIB} : ());
+ local $ENV{PATH} = join $Config::Config{path_sep},
+ (map { $abstarget->subdir('blib', $_) } qw(bin script)),
+ (defined $ENV{PATH} ? $ENV{PATH} : ());
+
system(@$cmd) and die "error while running: @$cmd";
1;
};

No commit comments for this range

Something went wrong with that request. Please try again.