From 3a6a9c1d9aa5da405bcda5d8af22e652ae2d1ea8 Mon Sep 17 00:00:00 2001 From: Christopher Crone Date: Wed, 8 Apr 2020 14:07:11 +0200 Subject: [PATCH] macOS install fixes Signed-off-by: Christopher Crone --- scripts/setup/install-protobuf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/setup/install-protobuf b/scripts/setup/install-protobuf index bacc828a..09e108e8 100755 --- a/scripts/setup/install-protobuf +++ b/scripts/setup/install-protobuf @@ -38,9 +38,9 @@ amd64|386) elif [ "$GOOS" = linux ]; then wget -O $PROTOBUF_DIR/protobuf "https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-linux-x86_64.zip" elif [ "$GOOS" = darwin ]; then - wget -O $PROTOBUF_DIR/protobuf "https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-osx-x86_64.zip" + curl -Lo $PROTOBUF_DIR/protobuf "https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-osx-x86_64.zip" fi - unzip $PROTOBUF_DIR/protobuf -d /usr/local + unzip $PROTOBUF_DIR/protobuf -x readme.txt -d /usr/local ;; ppc64le)