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

? sunnavy sunnavy at bestpractical.com
Thu Oct 24 11:53:23 EDT 2013


The branch, master has been updated
       via  5c84e77e5768ef067ed7c009fae0a6b400bed144 (commit)
       via  df877e21739a881c3ec683fe252115ff3028eefd (commit)
       via  622650579f07ba16a07305c3a31e0afa163c7562 (commit)
      from  03c86cc93f55265adbdaa6d8c02eae530a7e696c (commit)

Summary of changes:
 Changes                             | 8 ++++++--
 META.yml                            | 2 +-
 lib/Shipwright.pm                   | 2 +-
 lib/Shipwright/Source/Compressed.pm | 2 ++
 4 files changed, 10 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 622650579f07ba16a07305c3a31e0afa163c7562
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Oct 24 23:44:32 2013 +0800

    in case the first file listed from compessed source is './'
    
    like Crypt-DH-0.07.tar.gz. see also #89729

diff --git a/lib/Shipwright/Source/Compressed.pm b/lib/Shipwright/Source/Compressed.pm
index 5147fb9..ab751bb 100644
--- a/lib/Shipwright/Source/Compressed.pm
+++ b/lib/Shipwright/Source/Compressed.pm
@@ -56,6 +56,8 @@ sub path {
     $ae->extract( to => $tmp_dir );
     my $files = $ae->files;
 
+    # 1st file in Crypt-DH-0.07.tar.gz is "./"
+    shift @$files if $files->[0] =~ /^\.[\/\\]$/;
     my $base_dir = $files->[0];
     # some compressed file has name like ./PerlImagick-6.67/
     $base_dir =~ s!^\.[/\\]!!;

commit df877e21739a881c3ec683fe252115ff3028eefd
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Oct 24 23:47:23 2013 +0800

    release 2.4.35

diff --git a/Changes b/Changes
index e2b6fe8..269a1a4 100644
--- a/Changes
+++ b/Changes
@@ -1,8 +1,10 @@
 Revision history for Shipwright
 
-2.4.35
+2.4.35 Thu Oct 24 23:46:03 CST 2013
 
-2.4.34 Mon Oct 21 23:26:35 2013 +0800
+* handle compressed sources with "./" as the first file listed(#89729)
+
+2.4.34 Mon Oct 21 23:26:35 CST 2013
 
 * handle special configure modules(Module::Build::Tiny)
 

commit 5c84e77e5768ef067ed7c009fae0a6b400bed144
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Oct 24 23:51:56 2013 +0800

    bump to 2.4.36

diff --git a/Changes b/Changes
index 269a1a4..b436861 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 Revision history for Shipwright
 
+2.4.36
+
 2.4.35 Thu Oct 24 23:46:03 CST 2013
 
 * handle compressed sources with "./" as the first file listed(#89729)
diff --git a/META.yml b/META.yml
index 3d69967..a811570 100644
--- a/META.yml
+++ b/META.yml
@@ -57,4 +57,4 @@ requires:
 resources:
   license: http://dev.perl.org/licenses/
   repository: git://github.com/bestpractical/shipwright.git
-version: 2.004035
+version: 2.004036
diff --git a/lib/Shipwright.pm b/lib/Shipwright.pm
index f03aa0b..dc3722f 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.35');
+use version; our $VERSION = qv('2.4.36');
 
 use base qw/Shipwright::Base/;
 

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



More information about the Bps-public-commit mailing list