We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 193e22c commit 8142941Copy full SHA for 8142941
scripts/install_protoc.sh
@@ -54,9 +54,10 @@ case "$(uname -m)" in
54
esac
55
56
# Detect the Operating System
57
+INSTALL_PATH=${1:+"$1"}
58
case "$(uname -s)" in
- "Darwin") download_binary $ARCH "osx" "$1";;
59
- "Linux") download_binary $ARCH "linux" "$1";;
+ "Darwin") download_binary $ARCH "osx" "$INSTALL_PATH";;
60
+ "Linux") download_binary $ARCH "linux" "$INSTALL_PATH";;
61
*) die "Unsupported OS. Please consider manual installation from \
62
https://github.com/protocolbuffers/protobuf/releases/ and add to PATH" ;;
63
0 commit comments