1
0
mirror of https://git.sr.ht/~thestr4ng3r/chiaki synced 2025-03-12 05:25:23 -07:00
chiaki/scripts/fetch-protoc.sh
2020-12-27 23:38:32 +01:00

14 lines
244 B
Bash
Executable File

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