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 3526902 commit 24046efCopy full SHA for 24046ef
scripts/install-protoc
@@ -15,6 +15,9 @@ os() {
15
"Linux")
16
echo "linux"
17
;;
18
+ *)
19
+ echo "linux"
20
+ ;;
21
esac
22
}
23
@@ -47,7 +50,7 @@ if [[ ${VERSION} == "" ]]; then
47
50
VERSION="$(get_protoc_latest_version)"
48
51
fi
49
52
-VERSION="$(echo "${VERSION}" | sed 's/^v//g')"
53
+VERSION="${VERSION#v}" # remove v prefix if exists
54
55
if [[ ${DESTINATION_DIR} == "" ]]; then
56
echo "missing destination argument"
scripts/tools.mk
@@ -202,5 +202,6 @@ shellcheck: $(TOOLS_BIN)/shellcheck
202
--norc \
203
--external-sources \
204
--format=tty \
205
+ --severity=info \
206
--enable=require-variable-braces,add-default-case
207
## </shellcheck>
0 commit comments