Re: [Module::Build] ANNOUNCE: 0.21 released
Status: Beta
Brought to you by:
kwilliams
|
From: Randy W. S. <Ra...@Th...> - 2003-10-17 03:31:02
|
On 10/15/2003 11:22 PM, Randy W. Sims wrote:
> There is also something going on at t/runthrough.t #20. I think I
> upgraded the Tar module recently, that may have something to do with it
> as it has always been troublesome on Windows.
>
> Randy.
This chatter comes from tring to add directories to the tarball.
grepping before passing the list to create_archive() fixes this problem.
sub make_tarball {
my ($self, $dir) = @_;
require Archive::Tar;
my $files = $self->rscan_dir($dir);
print "Creating $dir.tar.gz\n";
Archive::Tar->create_archive("$dir.tar.gz", 1, grep !-d, @$files);
}
Randy.
|