Don't autoupgrade homebrew formula in install-native-dependencies.sh (#43299)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 12 Oct 2020 11:08:36 +0000 (13:08 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Oct 2020 11:08:36 +0000 (13:08 +0200)
Should workaround an issue we're seeing on AzDO while upgrading openssl@1.1 1.1.1g -> 1.1.1h: 'Error: Not a directory @ dir_s_rmdir - /usr/local/Cellar/openssl'

eng/install-native-dependencies.sh

index 31a61e9..57896e8 100755 (executable)
@@ -31,7 +31,7 @@ if [ "$1" = "Linux" ]; then
 elif [ "$1" = "OSX" ] || [ "$1" = "tvOS" ] || [ "$1" = "iOS" ]; then
     engdir=$(dirname "${BASH_SOURCE[0]}")
     brew update --preinstall
-    brew bundle --no-lock --file "${engdir}/Brewfile"
+    brew bundle --no-upgrade --no-lock --file "${engdir}/Brewfile"
     if [ "$?" != "0" ]; then
         exit 1;
     fi