This fixes a bug where pushes are rejected in split PKGBUILDs if there are no arch-independent source array. Reported-by: Maxime Gauduin <alucryd@archlinux.org> Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> --- git-interface/git-update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-interface/git-update.py b/git-interface/git-update.py index b7eaa14..8852b04 100755 --- a/git-interface/git-update.py +++ b/git-interface/git-update.py @@ -241,7 +241,7 @@ for commit in walker: die_commit('missing %s file: %s' % (field, pkginfo[field]), commit.id) - for fname in pkginfo['source']: + for fname in extract_arch_fields(pkginfo, 'source'): if "://" in fname or "lp:" in fname: continue if not fname in commit.tree: -- 2.4.2