Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
59bc8db5
Commit
59bc8db5
authored
Jul 16, 2015
by
Brendan Burns
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11360 from zmerlynn/fix_silly_backslash
Fix hack/cherry_pick_pull.sh on OS X (sigh):
parents
12d984d9
fb861320
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cherry_pick_pull.sh
hack/cherry_pick_pull.sh
+2
-2
No files found.
hack/cherry_pick_pull.sh
View file @
59bc8db5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment