[Bps-public-commit] Shipwright branch, master, updated. baeae19bf6208256b147666c8b60478b1d65e2e8

? sunnavy sunnavy at bestpractical.com
Sun Sep 9 02:51:02 EDT 2012


The branch, master has been updated
       via  baeae19bf6208256b147666c8b60478b1d65e2e8 (commit)
       via  60fd6930dc70e12db5e1316e07f2600f6454d45f (commit)
       via  0a096a4b6b4201191af53817d00ed091efc5c238 (commit)
      from  388de9b93a86024e1c6819eafc0801773e49e94e (commit)

Summary of changes:
 Changes                         | 9 ++++++++-
 lib/Shipwright.pm               | 2 +-
 lib/Shipwright/Util/CleanINC.pm | 3 +--
 3 files changed, 10 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 0a096a4b6b4201191af53817d00ed091efc5c238
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sun Sep 9 14:43:54 2012 +0800

    move "." to the end of @INC to mimic the default behavior
    
    it's more right and could also avoid some errors specially when there is xs
    involved

diff --git a/lib/Shipwright/Util/CleanINC.pm b/lib/Shipwright/Util/CleanINC.pm
index 405b59b..57b543b 100644
--- a/lib/Shipwright/Util/CleanINC.pm
+++ b/lib/Shipwright/Util/CleanINC.pm
@@ -9,7 +9,6 @@ sub import {
     # and what we should drop because it's baked into perl as a local lib
     
     my %skip_lib_path = map { $_ => 1 } _default_inc();
-    delete $skip_lib_path{'.'}; # . is important
     my @explicit_libs = grep {!/inc$/}  split( /[:;]/,($ENV{'PERL5LIB'} ||''));
     my @inc_libs = grep {/inc$/}  split( /[:;]/,($ENV{'PERL5LIB'} ||''));
     # if the libs are explicitly specified, don't pull them from @INC
@@ -17,7 +16,7 @@ sub import {
     @INC = map { /(.+)/; $1 } grep { defined } (
         @new_base_inc,               $Config::Config{updatesarch},
         $Config::Config{updateslib}, $Config::Config{archlibexp},
-        $Config::Config{privlibexp},
+        $Config::Config{privlibexp}, '.'
     );
 }
 

commit 60fd6930dc70e12db5e1316e07f2600f6454d45f
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sun Sep 9 14:49:00 2012 +0800

    release 2.4.33

diff --git a/Changes b/Changes
index 9d37884..dd5c553 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,10 @@
 Revision history for Shipwright
 
-2.4.32
+2.4.33 Sun Sep  9 14:48:28 CST 2012
+
+* tweak CleanINC to move "." to the end of @INC
+
+2.4.32 Sun Jun 17 13:25:17 CST 2012
 
 * automatically set perl build script(thanks to David Good)
 * take care of sources like CPAN::Meta and Directory::Queue

commit baeae19bf6208256b147666c8b60478b1d65e2e8
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sun Sep 9 14:49:30 2012 +0800

    bump to 2.4.34

diff --git a/Changes b/Changes
index dd5c553..6e5fd85 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Shipwright
 
+2.4.34
+
+
 2.4.33 Sun Sep  9 14:48:28 CST 2012
 
 * tweak CleanINC to move "." to the end of @INC
diff --git a/lib/Shipwright.pm b/lib/Shipwright.pm
index 6658e68..70c86bd 100644
--- a/lib/Shipwright.pm
+++ b/lib/Shipwright.pm
@@ -2,7 +2,7 @@ package Shipwright;
 
 use warnings;
 use strict;
-use version; our $VERSION = qv('2.4.33');
+use version; our $VERSION = qv('2.4.34');
 
 use base qw/Shipwright::Base/;
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list