Re: [Module::Build] ANNOUNCE: 0.21 released
Status: Beta
Brought to you by:
kwilliams
|
From: <ajs...@ya...> - 2003-10-20 00:19:38
|
"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);
> }
The next release of Archive::Tar (1.08) will fix the bug of adding
directories to tarballs failing under Windows (so the above grep
workaround should then become unnecessary). If you need a patch
for this bug now, please let me know.
/-\
http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.
|