mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-12-05 03:10:41 +08:00
fix rebuild problem
This commit is contained in:
parent
5202ac516a
commit
d59a6cb08e
1 changed files with 2 additions and 2 deletions
|
@ -98,10 +98,10 @@ class jobsManager:
|
|||
return True
|
||||
def rebuild_package(self, pkgdirname, clean=False):
|
||||
self.pkgconfigs = load_all_yaml()
|
||||
if (REPO_ROOT / pkgdirname).exists() and clean:
|
||||
self.reset_dir(pkgdirname)
|
||||
updates = updmgr.check_update(rebuild_package=pkgdirname)
|
||||
if updates and len(updates) == 1:
|
||||
if clean:
|
||||
self.reset_dir(pkgdirname)
|
||||
(pkgconfig, ver, buildarchs) = updates[0]
|
||||
march = True if len(buildarchs) >= 2 else False
|
||||
for arch in buildarchs:
|
||||
|
|
Loading…
Reference in a new issue