Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-08-09 18:02:33 -0400
committerAllan McRae <allan@archlinux.org>2014-09-30 12:56:21 +1000
commit235562a85e25492f3ea258f71904d8753941e0c5 (patch)
tree42be0bd3342b002c09d586b7119ead32b509b28f
parent963f7fe02fcb1429224c6c936e3110f0eb10d107 (diff)
updpkgsums: update to recognize arch-specific sources
This change reveals a bootstrapping bug -- since we call the bare "makepkg" and rely on PATH lookup, we might not have a makepkg which can generate architecture-specific checksums.
-rw-r--r--contrib/updpkgsums.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/updpkgsums.sh.in b/contrib/updpkgsums.sh.in
index d41e362e..4a9026eb 100644
--- a/contrib/updpkgsums.sh.in
+++ b/contrib/updpkgsums.sh.in
@@ -83,7 +83,7 @@ fi
trap "rm -rf '$BUILDDIR'" EXIT
newsums=$(makepkg -g -p "$buildfile") && rm -f "$buildfile" &&
exec awk -v newsums="$newsums" '
- /^[[:blank:]]*(md|sha)[[:digit:]]+sums=/,/\)[[:blank:]]*(#.*)?$/ {
+ /^[[:blank:]]*(md|sha)[[:digit:]]+sums(_[^=]+)?=/,/\)[[:blank:]]*(#.*)?$/ {
if (!w) {
print newsums
w++