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
6d770c32
Commit
6d770c32
authored
Sep 29, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Sep 29, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #33786 from david-mcmahon/bashver
Automatic merge from submit-queue Add a bash version check and some suggested updates for OSX. ref #32564 cc @johscheuer
parents
6a46bf1b
ae12275e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
update-godep-licenses.sh
hack/update-godep-licenses.sh
+13
-0
No files found.
hack/update-godep-licenses.sh
View file @
6d770c32
...
@@ -112,6 +112,19 @@ process_content () {
...
@@ -112,6 +112,19 @@ process_content () {
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
source
"
${
KUBE_ROOT
}
/hack/lib/init.sh"
source
"
${
KUBE_ROOT
}
/hack/lib/init.sh"
# Check bash version
if
((
${
BASH_VERSINFO
[0]
}
<4
))
;
then
echo
echo
"ERROR: Bash v4+ required."
# Extra help for OSX
if
[[
"
$(
uname
-s
)
"
==
"Darwin"
]]
;
then
echo
echo
"Ensure you are up to date on the following packages:"
echo
"
$
brew install md5sha1sum bash jq"
fi
echo
fi
# This variable can be injected, as in the verify script.
# This variable can be injected, as in the verify script.
LICENSE_ROOT
=
"
${
LICENSE_ROOT
:-${
KUBE_ROOT
}}
"
LICENSE_ROOT
=
"
${
LICENSE_ROOT
:-${
KUBE_ROOT
}}
"
cd
"
${
LICENSE_ROOT
}
"
cd
"
${
LICENSE_ROOT
}
"
...
...
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