summaryrefslogtreecommitdiff
path: root/bumpVersion
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-03-26 22:16:59 +0200
committerErich Eckner <git@eckner.net>2017-03-26 22:16:59 +0200
commit13ce3ae56a68718ba9c5b86907da0266b711bdac (patch)
tree0db8d109db5ecbe0778ca567e7fe8b2caf6a4ac9 /bumpVersion
parent8065d52ba0d467ec0a7c08fcac5aa3f1c096c1d1 (diff)
downloadarchlinuxewe.git.save-13ce3ae56a68718ba9c5b86907da0266b711bdac.tar.xz
bumpVersion: bugfix
Diffstat (limited to 'bumpVersion')
-rwxr-xr-xbumpVersion22
1 files changed, 12 insertions, 10 deletions
diff --git a/bumpVersion b/bumpVersion
index 76f71177..399521e4 100755
--- a/bumpVersion
+++ b/bumpVersion
@@ -47,16 +47,18 @@ done
if [ $# -eq 0 ]
then
>&2 echo 'bumping versions of all packages ...'
- "${me}" $(
- (
- "${myDir}/checkVersions" --noUpdate | \
- cut -d: -f1
- echo "${nichtPakete}"
- echo "${nichtPakete}"
- ) | \
- sort | \
- uniq -u
- )
+ pkgs="$(
+ (
+ "${myDir}/checkVersions" --noUpdate | \
+ cut -d: -f1
+ echo "${nichtPakete}"
+ echo "${nichtPakete}"
+ ) | \
+ sort | \
+ uniq -u
+ )"
+ [ -z "${pkgs}" ] && exit 0
+ "${me}" ${pkgs}
exit $?
elif [ $# -gt 1 ]
then