Re: [Module::Build] ANNOUNCE: 0.21 released
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-10-18 03:30:49
|
On Thursday, October 16, 2003, at 10:29 PM, Randy W. Sims wrote:
>
>
> 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);
> }
>
Looks good, applied. Thanks.
-Ken
|