Merge pull request #11360 from zmerlynn/fix_silly_backslash
Fix hack/cherry_pick_pull.sh on OS X (sigh):
This commit is contained in:
@@ -53,8 +53,8 @@ shift 1
|
|||||||
declare -r PULLS=( "$@" )
|
declare -r PULLS=( "$@" )
|
||||||
|
|
||||||
function join { local IFS="$1"; shift; echo "$*"; }
|
function join { local IFS="$1"; shift; echo "$*"; }
|
||||||
declare -r PULLDASH=$(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"
|
declare -r PULLSUBJ=$(join " " "${PULLS[@]/#/#}") # Generates something like "#12345 #56789"
|
||||||
|
|
||||||
echo "+++ Updating remotes..."
|
echo "+++ Updating remotes..."
|
||||||
git remote update
|
git remote update
|
||||||
|
Reference in New Issue
Block a user