Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lucia <rylucia@microsoft.com>2020-07-28 14:07:25 +0300
committerGitHub <noreply@github.com>2020-07-28 14:07:25 +0300
commit18316b6d305b13e66ee2fe910e59ad6fe018aea4 (patch)
tree69ee0dee144376b179caae2c7ce9f994c4f75c72 /eng/install-native-dependencies.sh
parent43670d59e25a6f9b5e6aeb8d1fd7cff1abe6d947 (diff)
Add brew update before brew bundle (#39999)
Every lane appears to be failing because of an issue with brew bundle expecting the latest homebrew but not automatically updating: https://github.com/Homebrew/homebrew-bundle/issues/751 So forcibly update, which is apparently good practice anyway: https://github.com/Homebrew/homebrew-bundle/issues/751#issuecomment-664958735
Diffstat (limited to 'eng/install-native-dependencies.sh')
-rwxr-xr-xeng/install-native-dependencies.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/eng/install-native-dependencies.sh b/eng/install-native-dependencies.sh
index 00be5a62872..e8ab193c2d5 100755
--- a/eng/install-native-dependencies.sh
+++ b/eng/install-native-dependencies.sh
@@ -11,6 +11,7 @@ if [ "$1" = "Linux" ]; then
fi
elif [ "$1" = "OSX" ] || [ "$1" = "tvOS" ] || [ "$1" = "iOS" ]; then
engdir=$(dirname "${BASH_SOURCE[0]}")
+ brew update --preinstall
brew bundle --no-lock --file "${engdir}/Brewfile"
if [ "$?" != "0" ]; then
exit 1;