From 235562a85e25492f3ea258f71904d8753941e0c5 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 9 Aug 2014 18:02:33 -0400 Subject: 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. --- contrib/updpkgsums.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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++ -- cgit v1.2.3-70-g09d2