mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Merge pull request #11360 from zmerlynn/fix_silly_backslash
Fix hack/cherry_pick_pull.sh on OS X (sigh):
This commit is contained in:
commit
59bc8db554
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user