mirror of https://github.com/docker/compose.git
Merge pull request #5 from chris-crone/proto-mac
Fix macOS protobuf install
This commit is contained in:
commit
8e68e36894
|
@ -38,9 +38,9 @@ amd64|386)
|
||||||
elif [ "$GOOS" = linux ]; then
|
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"
|
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
|
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
|
fi
|
||||||
unzip $PROTOBUF_DIR/protobuf -d /usr/local
|
unzip $PROTOBUF_DIR/protobuf -x readme.txt -d /usr/local
|
||||||
;;
|
;;
|
||||||
|
|
||||||
ppc64le)
|
ppc64le)
|
||||||
|
|
Loading…
Reference in New Issue