Skip to content
Snippets Groups Projects
Commit 5d95605b authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[doc/macos-ci-install/update-ci] Fix macm1 upgrade instructions

parent ecb2fcbe
No related branches found
No related tags found
No related merge requests found
Pipeline #47291 passed
......@@ -3,8 +3,10 @@
# Update CI installation
echo "Updating homebrew..."
brew=/usr/local/bin/brew
pip=/usr/local/bin/pip3
if [ ! -x ${brew} ]; then
brew=/opt/homebrew/bin/brew
pip=/opt/homebrew/bin/pip3
fi
${brew} update
${brew} upgrade
......@@ -23,8 +25,4 @@ function pipupdate() {
${1} list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 ${1} install -U;
}
pip=/usr/local/bin/pip3
if [ ! -x ${pip} ]; then
brew=/opt/homebrew/bin/pip3
fi
pipupdate ${pip}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment