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
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ fi
|
||||||
trap "rm -rf '$BUILDDIR'" EXIT
|
trap "rm -rf '$BUILDDIR'" EXIT
|
||||||
newsums=$(makepkg -g -p "$buildfile") && rm -f "$buildfile" &&
|
newsums=$(makepkg -g -p "$buildfile") && rm -f "$buildfile" &&
|
||||||
exec awk -v newsums="$newsums" '
|
exec awk -v newsums="$newsums" '
|
||||||
/^[[:blank:]]*(md|sha)[[:digit:]]+sums=/,/\)[[:blank:]]*(#.*)?$/ {
|
/^[[:blank:]]*(md|sha)[[:digit:]]+sums(_[^=]+)?=/,/\)[[:blank:]]*(#.*)?$/ {
|
||||||
if (!w) {
|
if (!w) {
|
||||||
print newsums
|
print newsums
|
||||||
w++
|
w++
|
||||||
|
|
Loading…
Add table
Reference in a new issue