From 441052c540d64a26edaa64de90dfe7c0e409e702 Mon Sep 17 00:00:00 2001 From: David Golden Date: Wed, 9 Jul 2014 14:22:26 -0400 Subject: [PATCH] protect fatpacked perlbrew from PERL5LIB --- dev-bin/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-bin/build.sh b/dev-bin/build.sh index c1f2aa8e..464363c4 100755 --- a/dev-bin/build.sh +++ b/dev-bin/build.sh @@ -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