Subject: | Tarball '/dist/t/th/theory/Test.Simple-0.29.tar.gz' does not contain resource 'lib' at C:/perl/site/5.10.1/lib/JSAN/Client.pm line 300 |
This is a bug in sub JSAN::Index::Release::_extract_resource_from_tar
$ jsan
Checking for Internet access...
Locating closest JSAN mirror...
jsan shell -- JSAN repository explorer and package installer (v2.03)
-- Copyright 2005 - 2009 Adam Kennedy.
-- Type 'help' for a summary of available commands.
Show quoted text
jsan> i Test.Simple
Tarball '/dist/t/th/theory/Test.Simple-0.29.tar.gz' does not contain
resource 'lib' at C:/perl/site/5.10.1/lib/JSAN/Client.pm line 300
Show quoted textjsan> q
K TNX BYE!!!
I tracked this down to sub JSAN::Index::Release::_extract_resource_from_tar
The problem line
#~ my ($vol, $dir, $file) =
File::Spec::Unix->splitpath($item->name);
this problem line should be
my ($vol, $dir, $file) = File::Spec::Unix->splitpath($item->full_path);
http://search.cpan.org/~bingos/Archive-Tar-1.60/lib/Archive/Tar/File.pm#name
http://search.cpan.org/~bingos/Archive-Tar-1.60/lib/Archive/Tar/File.pm#$path_=_$file-%3Efull_path
Thanks