mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
* Fixed an uninitialized value when converting from a .src.rpm.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user