summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbumpPkgrel12
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