diff options
author | Erich Eckner <git@eckner.net> | 2020-07-01 08:56:12 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-07-01 08:56:12 +0200 |
commit | 9c0372826f6306d12bc186619544a822fe68b29a (patch) | |
tree | 15a045aaa480b58ef29282c7ae93784609f94a09 | |
parent | 1924dcfe10df8e6ddb9665f7db8b209075639bd3 (diff) | |
download | archlinuxewe-9c0372826f6306d12bc186619544a822fe68b29a.tar.xz |
bumpPkgrel: invert logic
-rwxr-xr-x | bumpPkgrel | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bumpPkgrel b/bumpPkgrel index d7eb98964..ad5b73577 100755 --- a/bumpPkgrel +++ b/bumpPkgrel @@ -69,7 +69,12 @@ pin_dependency() { ' } -if [ $# -eq 1 ]; then +if [ $# -ne 1 ]; then + + printf '%s\n' "$@" \ + | xargs -rn1 "$0" ${commit_flag} -p "${provided}" + +else cd "$(dirname "$0")" @@ -123,9 +128,4 @@ if [ $# -eq 1 ]; then fi fi -else - - printf '%s\n' "$@" \ - | xargs -rn1 "$0" ${commit_flag} -p "${provided}" - fi |