summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-17 09:43:02 +0200
committerErich Eckner <git@eckner.net>2019-04-17 09:43:02 +0200
commited1e0d402aa0792a1e7870d9050db22b3460f136 (patch)
tree842f8eadad75314c16525a8af5acc473c6f89613
parent70e0f2218d0c110e706fe7114d14416fb3a597b0 (diff)
downloaddevops-ed1e0d402aa0792a1e7870d9050db22b3460f136.tar.xz
update-archlinux32-package: fix checksum code path for PKGBUILDs with checksum on last line
-rwxr-xr-xupdate-archlinux32-package5
1 files changed, 3 insertions, 2 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index cac7f22..5fe771d 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -236,10 +236,11 @@ case ${update_path} in
sed -i '
/^\S\+sums\(_[^=]\+\)\?=(/{
:a
- $b
- N
s/^\S\+sums[^=]*=(.*)/'"${sums}"'/
tb
+ $b
+ N
+ ba
:b
p
:c