mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-24 17:16:12 +01:00
- hostarch is an array :/
This commit is contained in:
parent
ce04f8b9bb
commit
b99233e3ae
@ -5116,9 +5116,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
if arg.endswith('.spec') or arg.endswith('.dsc') or arg.endswith('.kiwi') or arg == 'PKGBUILD':
|
||||
arg_descr = arg
|
||||
else:
|
||||
if (arg == osc.build.hostarch or osc.build.can_also_build.get(arg) != None) and arg_arch is None:
|
||||
if (arg in osc.build.hostarch or osc.build.can_also_build.get(arg) != None) and arg_arch is None:
|
||||
arg_arch = arg
|
||||
if not (arg in osc.build.can_also_build.get(osc.build.hostarch, []) or arg == osc.build.hostarch):
|
||||
if not (arg in osc.build.can_also_build.get(osc.build.hostarch, []) or arg in osc.build.hostarch):
|
||||
print("WARNING: native compile is not possible, an emulator must be configured!")
|
||||
elif not arg_repository:
|
||||
arg_repository = arg
|
||||
|
Loading…
Reference in New Issue
Block a user