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 b5bb81fCopy full SHA for b5bb81f
scripts/install_protoc.sh
@@ -54,9 +54,11 @@ case "$(uname -m)" in
54
esac
55
56
# Detect the Operating System
57
+INSTALL_PATH=${1:+"$1"}
58
+echo "Got install path as : $INSTALL_PATH"
59
case "$(uname -s)" in
- "Darwin") download_binary $ARCH "osx" "$1";;
- "Linux") download_binary $ARCH "linux" "$1";;
60
+ "Darwin") download_binary $ARCH "osx" "$INSTALL_PATH";;
61
+ "Linux") download_binary $ARCH "linux" "$INSTALL_PATH";;
62
*) die "Unsupported OS. Please consider manual installation from \
63
https://github.com/protocolbuffers/protobuf/releases/ and add to PATH" ;;
64
0 commit comments