Merge pull request #11360 from zmerlynn/fix_silly_backslash

Fix hack/cherry_pick_pull.sh on OS X (sigh):
This commit is contained in:
Brendan Burns 2015-07-16 11:42:31 -07:00
commit 59bc8db554

View File

@ -53,8 +53,8 @@ shift 1
declare -r PULLS=( "$@" )
function join { local IFS="$1"; shift; echo "$*"; }
declare -r PULLDASH=$(join - "${PULLS[@]/#/\#}") # Generates something like "#12345-#56789"
declare -r PULLSUBJ=$(join " " "${PULLS[@]/#/\#}") # Generates something like "#12345 #56789"
declare -r PULLDASH=$(join - "${PULLS[@]/#/#}") # Generates something like "#12345-#56789"
declare -r PULLSUBJ=$(join " " "${PULLS[@]/#/#}") # Generates something like "#12345 #56789"
echo "+++ Updating remotes..."
git remote update