summaryrefslogtreecommitdiff
path: root/bumpPkgrel
diff options
context:
space:
mode:
Diffstat (limited to 'bumpPkgrel')
-rwxr-xr-xbumpPkgrel4
1 files changed, 3 insertions, 1 deletions
diff --git a/bumpPkgrel b/bumpPkgrel
index b92e0372..3ec11039 100755
--- a/bumpPkgrel
+++ b/bumpPkgrel
@@ -7,9 +7,11 @@ fi
if [ "x$1" = 'x-n' ]; then
commit=false
+ commit_flag='-n'
shift
else
commit=true
+ commit_flag=''
fi
pin_dependency() {
@@ -115,6 +117,6 @@ if [ $# -eq 1 ]; then
else
printf '%s\n' "$@" \
- | xargs -rn1 "$0"
+ | xargs -rn1 "$0" ${commit_flag}
fi