This repository has been archived by the owner on May 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add info to install gnu core utils on mac devices
- Loading branch information
Tim Schrodi
committed
Jun 11, 2021
1 parent
a77b4e6
commit f52fdc7
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,21 @@ echo "> Install Registry test binaries" | |
mkdir -p ${PROJECT_ROOT}/tmp/test/bin | ||
curl -L "https://github.com/gardener/component-cli/raw/registry/bin/registry-$(go env GOOS)-$(go env GOARCH)" --output ${PROJECT_ROOT}/tmp/test/bin/registry | ||
chmod +x ${PROJECT_ROOT}/tmp/test/bin/registry | ||
|
||
platform=$(uname -s) | ||
if [[ ${platform} == *"Darwin"* ]]; then | ||
cat <<EOM | ||
You are running in a MAC OS environment! | ||
Please make sure you have installed the following requirements: | ||
- GNU Core Utils | ||
- GNU Tar | ||
- GNU Sed | ||
Brew command: | ||
$ brew install coreutils gnu-sed gnu-tar grep jq | ||
Please allow them to be used without their "g" prefix: | ||
$ export PATH=/usr/local/opt/coreutils/libexec/gnubin:\$PATH | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
schrodit
|
||
$ export PATH=/usr/local/opt/gnu-sed/libexec/gnubin:\$PATH | ||
This comment has been minimized.
Sorry, something went wrong.
guewa
Contributor
|
||
$ export PATH=/usr/local/opt/gnu-tar/libexec/gnubin:\$PATH | ||
This comment has been minimized.
Sorry, something went wrong.
guewa
Contributor
|
||
$ export PATH=/usr/local/opt/grep/libexec/gnubin:\$PATH | ||
This comment has been minimized.
Sorry, something went wrong.
guewa
Contributor
|
||
EOM | ||
fi |
the backslash \ is too much, this will set the PATH env var wrong