summaryrefslogtreecommitdiff
path: root/bumpPkgrel
diff options
context:
space:
mode:
Diffstat (limited to 'bumpPkgrel')
-rwxr-xr-xbumpPkgrel12
1 files changed, 6 insertions, 6 deletions
diff --git a/bumpPkgrel b/bumpPkgrel
index d7eb9896..ad5b7357 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