Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-01 11:47:33 +0100
committerErich Eckner <git@eckner.net>2019-02-01 11:47:33 +0100
commitc3563257f55bd64419546f7581f4a4147f65cbd8 (patch)
tree3cfe9c4c1bb0049f0520b57c918e767ecd0f0ad1
parentf0b48eeb00d922584145e9355e4066b4e8a18a4a (diff)
update-archlinux32-package: first calculate $new_pkgver, then check for equality!
-rwxr-xr-xupdate-archlinux32-package8
1 files changed, 4 insertions, 4 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index ba06e72..d8be21a 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -147,15 +147,15 @@ case ${update_path} in
grep '^pkgver=' "${git_repo_path}/${repo}/${pkgname}/PKGBUILD" | \
cut -d'=' -f2
)
- if [ "${old_pkgver}" = "${new_pkgver}" ]; then
- >&2 echo 'nothing to do'
- exit
- fi
new_pkgver=$(
printf '%s\n' "${archlinuxewe_PKGBUILD}" | \
grep '^pkgver=' | \
cut -d'=' -f2
)
+ if [ "${old_pkgver}" = "${new_pkgver}" ]; then
+ >&2 echo 'nothing to do'
+ exit
+ fi
sha512sums=$(
cd "${archlinuxewe_git_path}/${pkgname}32"
makepkg -g | \