summaryrefslogtreecommitdiff
path: root/abump.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-30 08:10:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-30 08:10:39 +0000
commit91e2db6baf29e8c4e39159602d987fbe70f424b3 (patch)
tree948de21018235fdf6adf56696ec51a6cd26102ec /abump.in
parentf1b0b3de5e21aabab65f121ff21461588ee05c93 (diff)
downloadabuild-91e2db6baf29e8c4e39159602d987fbe70f424b3.tar.gz
abuild-91e2db6baf29e8c4e39159602d987fbe70f424b3.tar.bz2
abuild-91e2db6baf29e8c4e39159602d987fbe70f424b3.tar.xz
abuild-91e2db6baf29e8c4e39159602d987fbe70f424b3.zip
abump: die if version is missing
Diffstat (limited to 'abump.in')
-rw-r--r--abump.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/abump.in b/abump.in
index f935357..0c4aa00 100644
--- a/abump.in
+++ b/abump.in
@@ -28,6 +28,9 @@ do_bump() {
fi
name=${p%-[0-9]*}
ver=${p#${name}-}
+ if [ "$name" = "$ver" ]; then
+ die "version missing for $p"
+ fi
(
set -e