mirror of
https://github.com/docker/compose.git
synced 2026-08-03 22:27:30 +00:00
Fix install-protobuf script for macosx install
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
This commit is contained in:
parent
a4b0259456
commit
2ddab8e424
2 changed files with 3 additions and 1 deletions
|
|
@ -37,6 +37,8 @@ amd64|386)
|
|||
wget -O $PROTOBUF_DIR/protobuf "https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-win32.zip"
|
||||
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"
|
||||
fi
|
||||
unzip $PROTOBUF_DIR/protobuf -d /usr/local
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue