summaryrefslogtreecommitdiff
path: root/bumpVersion
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-08-23 15:11:40 +0200
committerErich Eckner <git@eckner.net>2016-08-24 10:17:07 +0200
commitb9f7c436fa2113a85ed1105ec7432eda3626ac75 (patch)
tree2d94ba6cc2fe278ecde96d50aeb12f7fe7e485e4 /bumpVersion
parent190fac63cb1511274825c7a5f469fbfcc2126851 (diff)
downloadarchlinuxewe-b9f7c436fa2113a85ed1105ec7432eda3626ac75.tar.xz
bumpVersion kann jetzt auch auf nicht neueste Version updaten
Diffstat (limited to 'bumpVersion')
-rwxr-xr-xbumpVersion4
1 files changed, 3 insertions, 1 deletions
diff --git a/bumpVersion b/bumpVersion
index 772dbcb5d..f88e43aa5 100755
--- a/bumpVersion
+++ b/bumpVersion
@@ -25,7 +25,9 @@ paket="${1%/}"
cd "${myDir}"
[ -r "${paket}/PKGBUILD" ] || exit 1
-eval $(./checkVersions -m "${paket}")
+vers="$(./checkVersions -m "${paket}")"
+[ -n "${remVer}" ] && vers="$(echo "${vers}" | grep -v 'remVer')"
+eval ${vers}
if [ "${remVer}" == "${pkgver}" ]
then
>&2 echo '... nothing to do here.'