[aur-dev] [PATCH] Use extract_arch_fields when checking for source files
Johannes Löthberg
johannes at kyriasis.com
Mon Jun 8 10:51:00 UTC 2015
This fixes a bug where pushes are rejected in split PKGBUILDs if there
are no arch-independent source array.
Reported-by: Maxime Gauduin <alucryd at archlinux.org>
Signed-off-by: Johannes Löthberg <johannes at 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
More information about the aur-dev
mailing list