diff options
author | Florian Ragwitz <rafl@debian.org> | 2010-09-05 02:08:52 +0200 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-09-05 02:08:52 +0200 |
commit | 45c9b306a24346dee678163d4cd308a03fec5f56 (patch) | |
tree | 29c421ba2a18f19772ef6e53cf770769f5d682fa | |
parent | 4c2e629869fec2cd3dd229c785f2aa07d0ecaddb (diff) | |
download | perl-45c9b306a24346dee678163d4cd308a03fec5f56.tar.gz |
Fix core-cpan-diff for dists that extract weirdly
The recent "Foo-Bar-1.23-withoutworldwriteables.tar.gz" dists are an example of
that. They'll extract to Foo-Bar-1.23/.
Caching of the untarred dists probably doesn't work for those dists, but at
least it works at all.
-rw-r--r-- | Porting/core-cpan-diff | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Porting/core-cpan-diff b/Porting/core-cpan-diff index 75946185bb..7c8a312684 100644 --- a/Porting/core-cpan-diff +++ b/Porting/core-cpan-diff @@ -631,6 +631,8 @@ sub get_distribution { or die "ERROR: failed to extract distribution '$download_file to temp. dir: " . $ae->error() . "\n"; + + $path = $ae->extract_path; } die "ERROR: Extracted tarball does not appear as $path\n" unless -d $path; |