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
1d3fc2a9
Unverified
Commit
1d3fc2a9
authored
May 17, 2019
by
Christoph Blecker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use declare -g in build
parent
b7ce1ed3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
golang.sh
hack/lib/golang.sh
+5
-5
No files found.
hack/lib/golang.sh
View file @
1d3fc2a9
...
...
@@ -163,10 +163,10 @@ kube::golang::dedup() {
# to readonly.
# The configured vars will only contain platforms allowed by the
# KUBE_SUPPORTED* vars at the top of this file.
declare
-a
-g
KUBE_SERVER_PLATFORMS
declare
-a
-g
KUBE_CLIENT_PLATFORMS
declare
-a
-g
KUBE_NODE_PLATFORMS
declare
-a
-g
KUBE_TEST_PLATFORMS
declare
-a
KUBE_SERVER_PLATFORMS
declare
-a
KUBE_CLIENT_PLATFORMS
declare
-a
KUBE_NODE_PLATFORMS
declare
-a
KUBE_TEST_PLATFORMS
kube::golang::setup_platforms
()
{
if
[[
-n
"
${
KUBE_BUILD_PLATFORMS
:-}
"
]]
;
then
# KUBE_BUILD_PLATFORMS needs to be read into an array before the next
...
...
@@ -219,7 +219,7 @@ kube::golang::setup_platforms() {
KUBE_CLIENT_PLATFORMS
=(
darwin/amd64
linux/amd64
)
)
readonly
KUBE_CLIENT_PLATFORMS
else
KUBE_TEST_PLATFORMS
=(
linux/amd64
)
...
...
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