mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 15:20:11 +00:00
move homebrew to the end (#789)
This commit is contained in:
@@ -20,7 +20,7 @@ sudo chmod -R o+w $HOMEBREW_PREFIX
|
||||
brew shellenv|grep 'export HOMEBREW'|sed -E 's/^export (.*);$/\1/' | sudo tee -a /etc/environment
|
||||
# add brew executables locations to PATH
|
||||
brew_path=$(brew shellenv|grep '^export PATH' |sed -E 's/^export PATH="([^$]+)\$.*/\1/')
|
||||
prependEtcEnvironmentPath "$brew_path"
|
||||
appendEtcEnvironmentPath "$brew_path"
|
||||
|
||||
# Validate the installation ad hoc
|
||||
echo "Validate the installation reloading /etc/environment"
|
||||
|
||||
Reference in New Issue
Block a user