Skip to content

Commit

Permalink
Merge pull request #387 from dagolden/topic/protect-from-perl5lib
Browse files Browse the repository at this point in the history
Protect fatpacked perlbrew from existing INC
  • Loading branch information
gugod committed Jul 21, 2014
2 parents 6b416e2 + 441052c commit bf475f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev-bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ export PERL5LIB="lib":$PERL5LIB

cat - <<"EOF" > perlbrew
#!/usr/bin/perl
BEGIN { use Config; @INC = @Config{qw(privlibexp archlibexp sitelibexp sitearchexp)} };
EOF

(fatpack file; cat ../bin/perlbrew) >> perlbrew
Expand Down

0 comments on commit bf475f5

Please sign in to comment.