From: Paul Eggleton Date: Mon, 30 Oct 2017 22:01:31 +0000 (+1300) Subject: scripts/send-pull-request: allow -C to be used multiple times X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fpaule%2Fcore-fixes;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git scripts/send-pull-request: allow -C to be used multiple times Allow -C to be specified multiple times in order to CC multiple people instead of only taking the last specified value. (You can already use commas to separate multiple recipients, but it makes sense to support this usage as well as commas as separators may not be immediately obvious). Signed-off-by: Paul Eggleton --- diff --git a/scripts/send-pull-request b/scripts/send-pull-request index 883deacb07f..baa907d820b 100755 --- a/scripts/send-pull-request +++ b/scripts/send-pull-request @@ -82,7 +82,7 @@ while getopts "acC:hp:t:" OPT; do GITSOBCC="--signed-off-by-cc" ;; C) - EXTRA_CC="$OPTARG" + EXTRA_CC="$EXTRA_CC,$OPTARG" ;; h) usage