From b9f7c436fa2113a85ed1105ec7432eda3626ac75 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 23 Aug 2016 15:11:40 +0200 Subject: bumpVersion kann jetzt auch auf nicht neueste Version updaten --- bumpVersion | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bumpVersion b/bumpVersion index 772dbcb5..f88e43aa 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.' -- cgit v1.2.3-70-g09d2