]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: try another way to workaround problem with brew
authorVincent Bernat <vincent@bernat.ch>
Tue, 4 Jul 2023 19:58:33 +0000 (21:58 +0200)
committerVincent Bernat <vincent@bernat.ch>
Tue, 4 Jul 2023 19:58:33 +0000 (21:58 +0200)
brew update is not mandatory, let's try it as a best effort.

tests/ci/install.sh

index 88bfa17e6a6cf7296a968c7e38e4138397a84ce7..7fc1b43bb4d82597a580b94f0a66d9976e69aeb1 100755 (executable)
@@ -24,8 +24,7 @@ case "$(uname -s)" in
         ;;
     Darwin)
         # See https://github.com/Homebrew/homebrew-cask/issues/150323
-        unset HOMEBREW_NO_INSTALL_FROM_API
-        brew update > /dev/null
+        brew update > /dev/null || true
         brew bundle --file=- <<-EOS
 brew "automake"
 brew "autoconf"