diff options
author | Erich Eckner <git@eckner.net> | 2017-03-26 22:16:59 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-03-26 22:16:59 +0200 |
commit | 13ce3ae56a68718ba9c5b86907da0266b711bdac (patch) | |
tree | 0db8d109db5ecbe0778ca567e7fe8b2caf6a4ac9 | |
parent | 8065d52ba0d467ec0a7c08fcac5aa3f1c096c1d1 (diff) | |
download | archlinuxewe-13ce3ae56a68718ba9c5b86907da0266b711bdac.tar.xz |
bumpVersion: bugfix
-rwxr-xr-x | bumpVersion | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/bumpVersion b/bumpVersion index 76f711776..399521e4b 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 |