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.
This commit is contained in:
parent
963f7fe02f
commit
235562a85e
|
@ -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++
|
||||
|
|
Loading…
Reference in New Issue