diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-06-15 00:07:00 +0100 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-06-15 00:07:00 +0100 |
commit | e23aeb149fb6ed3878a2db57cd907b39c52173f3 (patch) | |
tree | fb1d02c225fd4df9962063804756ca2ba38b1b51 | |
parent | 5910f6fc8dae892fb03aa43d6f060e6687847dc0 (diff) | |
download | iurt-e23aeb149fb6ed3878a2db57cd907b39c52173f3.tar iurt-e23aeb149fb6ed3878a2db57cd907b39c52173f3.tar.gz iurt-e23aeb149fb6ed3878a2db57cd907b39c52173f3.tar.bz2 iurt-e23aeb149fb6ed3878a2db57cd907b39c52173f3.tar.xz iurt-e23aeb149fb6ed3878a2db57cd907b39c52173f3.zip |
Always accept to build for the current arch
-rwxr-xr-x | iurt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -539,7 +539,7 @@ if (!$run{chrooted_urpmi} && $run{group}) { } $run{my_arch} or usage($program_name, \@params, "no architecture given (media $run{media}, run{my_arch} $run{my_arch}, todo", join(', ', @{$run{todo}})); -if (!$arch_comp{$real_arch}{$run{my_arch}}) { +if ($run{my_arch} ne $real_arch && !$arch_comp{$real_arch}{$run{my_arch}}) { die "FATAL $program_name: could not compile $run{my_arch} binaries on a $real_arch"; } config_init(\%config_usage, $config, \%run); |