chiaki/scripts/fetch-protoc.sh
2019-09-13 15:49:15 +02:00

11 lines
242 B
Bash
Executable File

#!/bin/bash
cd $(dirname "${BASH_SOURCE[0]}")/..
ROOT="`pwd`"
URL=https://github.com/protocolbuffers/protobuf/releases/download/v3.9.1/protoc-3.9.1-linux-x86_64.zip
wget "$URL" -O protoc.zip || exit 1
unzip protoc.zip -d protoc || exit 1