diff options
author | Dimitrios Apostolou <jimis@qt.io> | 2019-08-14 15:52:56 +0200 |
---|---|---|
committer | Dimitrios Apostolou <jimis@qt.io> | 2019-10-01 06:11:48 +0200 |
commit | cfef857815392831dc15075c98c53041689a01a4 (patch) | |
tree | 75a79b632b5960951ebe3acccb9850bd6ebbbd54 /coin/provisioning/common/macos/homebrew.sh | |
parent | f4e7c08e82652161afa4568dbccf94c7576f775b (diff) |
Reduce noise in the provision logs
Reduce verbosity in order to shorten logs and make them more readable.
In two cases we just remove the verbose flag.
In one other case we undo inlining of a huge script in the command line.
Because we run the provisioning scripts in trace mode, this caused the
script to be logged, and it was rather long and meaningless since it
comes from an external project.
Change-Id: I078ee3b3ab2db9425204375deb5815b6526a4466
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'coin/provisioning/common/macos/homebrew.sh')
-rwxr-xr-x | coin/provisioning/common/macos/homebrew.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/coin/provisioning/common/macos/homebrew.sh b/coin/provisioning/common/macos/homebrew.sh index f7042de3..715477c0 100755 --- a/coin/provisioning/common/macos/homebrew.sh +++ b/coin/provisioning/common/macos/homebrew.sh @@ -1,5 +1,12 @@ #!/usr/bin/env bash -# Will install homebrew package manager for macOS -/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" </dev/null + + +# Will install homebrew package manager for macOS. +# WARNING: Requires commandlinetools + +# TODO audit and cache this file locally, see QTQAINFRA-3134 +curl -L -o /tmp/homebrew_install https://raw.githubusercontent.com/Homebrew/install/master/install + +/usr/bin/ruby /tmp/homebrew_install </dev/null brew update |