summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-04 09:47:57 +0200
committerErich Eckner <git@eckner.net>2020-06-04 09:47:57 +0200
commit2a304312db7b57efe378f50a983f1ffc6014dae1 (patch)
tree167bfd902b76d5ac732697fc5fc89f4654bba778
parentf42ab165e3151f437e2e54c55f32ed16553605b1 (diff)
downloadarchlinuxewe-2a304312db7b57efe378f50a983f1ffc6014dae1.tar.xz
bumpPkgrel: pass -n to sub-calls, too
-rwxr-xr-xbumpPkgrel4
1 files changed, 3 insertions, 1 deletions
diff --git a/bumpPkgrel b/bumpPkgrel
index b92e03725..3ec110398 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