]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Fix Travis failures due to Homebrew 100/head
authorJeffrey Walton <noloader@gmail.com>
Thu, 26 Mar 2020 23:26:22 +0000 (19:26 -0400)
committerJeffrey Walton <noloader@gmail.com>
Thu, 26 Mar 2020 23:26:22 +0000 (19:26 -0400)
contrib/ios/install_tools.sh

index df532e29533c39f635a1ad2df5a89f14306846d5..796833d83143349f930aecc91dd52cd72c236181 100755 (executable)
@@ -1,7 +1,9 @@
 #!/usr/bin/env bash
 
 # This step should install tools needed for all packages - OpenSSL and LDNS
+# When running on Travis, Homebrew fails in unusual ways, hence '|| true'.
+# https://travis-ci.community/t/homebrew-fails-because-an-automake-update-is-an-error/7831/3
 echo "Updating tools"
-brew update 1>/dev/null
+brew update 1>/dev/null || true
 echo "Installing tools"
-brew install autoconf automake libtool pkg-config curl perl 1>/dev/null
+brew install autoconf automake libtool pkg-config curl perl 1>/dev/null || true