In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/a1450e8bf79c3c2d21815edb107c092b823221fd?hp=b6956a94c03907bb423a113afad54a0e343f44cf>

- Log -----------------------------------------------------------------
commit a1450e8bf79c3c2d21815edb107c092b823221fd
Author: Max Maischein <cor...@corion.net>
Date:   Tue May 21 19:09:47 2013 +0200

    Eliminate external call to tar executable in favour of Archive::Tar
    
    Archive::Tar has ->extract_archive, which does Just That. This means
    we lose immediate support for bzip2 files, but not all
    incarnations of `tar` support it either.
    
    Signed-off-by: David Golden <dagol...@cpan.org>
-----------------------------------------------------------------------

Summary of changes:
 Porting/sync-with-cpan |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Porting/sync-with-cpan b/Porting/sync-with-cpan
index b6ee246..ca3bedf 100755
--- a/Porting/sync-with-cpan
+++ b/Porting/sync-with-cpan
@@ -127,6 +127,7 @@ use 5.010;
 use strict;
 use warnings;
 use Getopt::Long;
+use Archive::Tar;
 
 $| = 1;
 
@@ -229,8 +230,8 @@ say "Cleaning out old directory";
 system git => 'clean', '-dfxq', $pkg_dir;
 
 say "Unpacking $new_file";
+Archive::Tar->extract_archive( $newfile );
 
-system tar => 'xfz', $new_file;
 (my $new_dir = $new_file) =~ s/\.tar\.gz//;
 # ensure 'make' will update all files
 system('find', $new_dir, '-exec', 'touch', '{}', ';');

--
Perl5 Master Repository

Reply via email to