From 2a304312db7b57efe378f50a983f1ffc6014dae1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 4 Jun 2020 09:47:57 +0200 Subject: bumpPkgrel: pass -n to sub-calls, too --- bumpPkgrel | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bumpPkgrel') 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 -- cgit v1.2.3-70-g09d2