summaryrefslogtreecommitdiff
path: root/bumpVersion
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-02-26 20:18:04 +0100
committerErich Eckner <git@eckner.net>2017-02-26 20:18:04 +0100
commitb69ec2cfd542fea4704410dcb808a4de3ea70210 (patch)
tree81df40dfec32ec3dd1a6bad5dd900d6dd8965a48 /bumpVersion
parentee26b3d678c5a1a7724dd2b929b4473d4cbf1181 (diff)
downloadarchlinuxewe.git.save-b69ec2cfd542fea4704410dcb808a4de3ea70210.tar.xz
bumpVersion kann nun mehrere "-n"
Diffstat (limited to 'bumpVersion')
-rwxr-xr-xbumpVersion2
1 files changed, 1 insertions, 1 deletions
diff --git a/bumpVersion b/bumpVersion
index f2827567..76f71177 100755
--- a/bumpVersion
+++ b/bumpVersion
@@ -31,7 +31,7 @@ do
;;
-n|--nicht)
shift
- nichtPakete="${nichtPakete}$(printf '\n')$1"
+ nichtPakete="$(printf '%s\n%s' "${nichtPakete}" "$1" | grep -v '^$')"
;;
--)
shift