diff options
author | Erich Eckner <git@eckner.net> | 2020-06-04 09:47:57 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-06-04 09:47:57 +0200 |
commit | 2a304312db7b57efe378f50a983f1ffc6014dae1 (patch) | |
tree | 167bfd902b76d5ac732697fc5fc89f4654bba778 /bumpPkgrel | |
parent | f42ab165e3151f437e2e54c55f32ed16553605b1 (diff) | |
download | archlinuxewe-2a304312db7b57efe378f50a983f1ffc6014dae1.tar.xz |
bumpPkgrel: pass -n to sub-calls, too
Diffstat (limited to 'bumpPkgrel')
-rwxr-xr-x | bumpPkgrel | 4 |
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 |