diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-30 08:10:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-30 08:10:39 +0000 |
commit | 91e2db6baf29e8c4e39159602d987fbe70f424b3 (patch) | |
tree | 948de21018235fdf6adf56696ec51a6cd26102ec /abump.in | |
parent | f1b0b3de5e21aabab65f121ff21461588ee05c93 (diff) | |
download | abuild-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.in | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |