]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
scripts/send-pull-request: allow -C to be used multiple times paule/core-fixes
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 30 Oct 2017 22:01:31 +0000 (11:01 +1300)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 3 Nov 2017 03:14:14 +0000 (16:14 +1300)
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 <paul.eggleton@linux.intel.com>
scripts/send-pull-request

index 883deacb07f6219afba29fece7eda554bdf0174b..baa907d820b6584676f857cbc9370615f59a06bf 100755 (executable)
@@ -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