diff --git a/Alien/Package/Rpm.pm b/Alien/Package/Rpm.pm index eb3df75..592c6ab 100644 --- a/Alien/Package/Rpm.pm +++ b/Alien/Package/Rpm.pm @@ -189,8 +189,9 @@ sub unpack { # last file, after all! Second, it makes the -d # test below fire, which saves us from trying to # fix a parent directory twice. - ($file)=$file=~m:(.*)/.*?:; + $file=$1 if $file=~m:(.*)/.*?:; my $dircollect=''; + foreach my $dir (split(/\//,$file)) { $dircollect.="$dir/"; # Use a hash to prevent duplicate chmods. diff --git a/debian/changelog b/debian/changelog index bd1dfd5..edbf1b1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +alien (7.5) unstable; urgency=low + + * Fixed an uninitialized value when converting from a .src.rpm. + + -- Joey Hess Mon, 29 May 2000 21:42:38 -0700 + alien (7.4) unstable; urgency=low * Corrected typo that broke Deb.pm, Closes: #64559