mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
* Corrected return code of system check.
* Corrected logic error in relocatable rpm handling that was making
converting such rpms not work. (Closes: #71155)
This commit is contained in:
4
alien.pl
4
alien.pl
@@ -364,8 +364,8 @@ foreach my $file (@ARGV) {
|
||||
# Make .orig.tar.gz directory?
|
||||
if ($format eq 'deb' && ! $single && $generate) {
|
||||
# Make .orig.tar.gz directory.
|
||||
system("cp -fa ".$package->unpacked_tree." ".$package->unpacked_tree.".orig") &&
|
||||
die "cp -fa failed";
|
||||
system("cp -fa ".$package->unpacked_tree." ".$package->unpacked_tree.".orig") == 0
|
||||
or die "cp -fa failed";
|
||||
}
|
||||
|
||||
# See if a patch file should be used.
|
||||
|
||||
Reference in New Issue
Block a user