This commit is contained in:
Dimitris Zlatanidis 2014-08-26 04:15:52 +03:00
parent d1f7ca4a18
commit 4255d4686b
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ def sbo_check():
elif "-noarch-" in pkg:
arch = "noarch"
else:
arch = ""
arch = os.uname()[4]
name = pkg[:-(len(arch) + len("_SBo") + 3)]
pkg_version = get_file(name, "-")[1:]
name = name[:-(len(pkg_version) + 1)]

View file

@ -83,7 +83,7 @@ def sbo_build(name):
elif "arm" in arch:
arch = "arm"
else:
arch = ""
arch = os.uname()[4]
if "UNSUPPORTED" in src:
arch = "UNSUPPORTED"
elif "UNTESTED" in src: