diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-08-09 18:02:33 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-09-30 12:56:21 +1000 |
commit | 235562a85e25492f3ea258f71904d8753941e0c5 (patch) | |
tree | 42be0bd3342b002c09d586b7119ead32b509b28f /contrib | |
parent | 963f7fe02fcb1429224c6c936e3110f0eb10d107 (diff) | |
download | pacman-235562a85e25492f3ea258f71904d8753941e0c5.tar.xz |
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.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/updpkgsums.sh.in | 2 |
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++ |