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.
---
The careful observer will note that this bootstrap issue applies to more than
just this one script.

 contrib/updpkgsums.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/updpkgsums.sh.in b/contrib/updpkgsums.sh.in
index 7e680b8..43c8337 100644
--- a/contrib/updpkgsums.sh.in
+++ b/contrib/updpkgsums.sh.in
@@ -81,7 +81,7 @@ fi
        # but it's better to be extra careful before unlinking files.
        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++
-- 
2.0.4

Reply via email to