X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Flocal%2Flib.pm;h=d56254a436f82a0d23ab89f7d1d9cb1f81736371;hb=refs%2Ftags%2F1.008008;hp=ecc4c2a77936120c970f85586b32af612e579f23;hpb=b4d420efb8cd1cc7c108154d9cf569941c394aae;p=p5sagit%2Flocal-lib.git diff --git a/lib/local/lib.pm b/lib/local/lib.pm index ecc4c2a..d56254a 100644 --- a/lib/local/lib.pm +++ b/lib/local/lib.pm @@ -10,7 +10,7 @@ use File::Spec (); use File::Path (); use Config; -our $VERSION = '1.008007'; # 1.8.4 +our $VERSION = '1.008008'; # 1.8.8 our @KNOWN_FLAGS = qw(--self-contained --deactivate --deactivate-all); @@ -236,12 +236,12 @@ sub setup_local_lib_for { $class->setup_env_hash_for($path, $deactivating); my $arch_dir = $Config{archname}; @INC = _uniq( - ( - # Inject $path/$archname for each path in PERL5LIB - map { ( File::Spec->catdir($_, $arch_dir), $_ ) } - split($Config{path_sep}, $ENV{PERL5LIB}) - ), - @INC + ( + # Inject $path/$archname for each path in PERL5LIB + map { ( File::Spec->catdir($_, $arch_dir), $_ ) } + split($Config{path_sep}, $ENV{PERL5LIB}) + ), + @INC ); } } @@ -432,7 +432,7 @@ sub build_activate_environment_vars_for { ), PATH => _env_list_value( { interpolate => $interpolate, exists => 0, empty => '' }, - $class->install_base_bin_path($path), + $class->install_base_bin_path($path), \'PATH', ), )