@@ -180,7 +180,7 @@ if ! command_exists yq; then
180180 exit 1
181181 fi
182182 elif [[ " ${OS} " == " linux" ]]; then
183- sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_${ARCH}
183+ sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_" ${ARCH} "
184184 sudo chmod +x /usr/local/bin/yq
185185 fi
186186
@@ -300,10 +300,10 @@ if [[ "${SKIP_PYTHON}" == "false" ]]; then
300300
301301 if prompt_continue; then
302302 if [[ " ${OS} " == " darwin" ]]; then
303- pip3 install poetry==${POETRY_VERSION}
303+ pip3 install poetry==" ${POETRY_VERSION} "
304304 elif [[ " ${OS} " == " linux" ]]; then
305- python3 -m pip install --break-system-packages poetry==${POETRY_VERSION} || \
306- python3 -m pip install --user poetry==${POETRY_VERSION}
305+ python3 -m pip install --break-system-packages poetry==" ${POETRY_VERSION} " || \
306+ python3 -m pip install --user poetry==" ${POETRY_VERSION} "
307307 fi
308308 log_success " Poetry installed"
309309 fi
@@ -316,18 +316,18 @@ if [[ "${SKIP_PYTHON}" == "false" ]]; then
316316
317317 if [[ " ${BLACK_INSTALLED} " != " ${BLACK_VERSION} " * ]]; then
318318 log_warning " Black version mismatch (current: ${BLACK_INSTALLED} , target: ${BLACK_VERSION} )"
319- log_info " Consider updating: pip install --upgrade black==${PBLACK_VERSION } "
319+ log_info " Consider updating: pip install --upgrade black==${BLACK_VERSION } "
320320 fi
321321 else
322322 log_warning " Black not found"
323323 log_info " Installing Black ${BLACK_VERSION} ..."
324324
325325 if prompt_continue; then
326326 if [[ " ${OS} " == " darwin" ]]; then
327- pip3 install black==${BLACK_VERSION}
327+ pip3 install black==" ${BLACK_VERSION} "
328328 elif [[ " ${OS} " == " linux" ]]; then
329- python3 -m pip install --break-system-packages black==${BLACK_VERSION} || \
330- python3 -m pip install --user black==${BLACK_VERSION}
329+ python3 -m pip install --break-system-packages black==" ${BLACK_VERSION} " || \
330+ python3 -m pip install --user black==" ${BLACK_VERSION} "
331331 fi
332332 log_success " Black installed"
333333 fi
@@ -399,7 +399,7 @@ if [[ "${SKIP_TOOLS}" == "false" ]]; then
399399 fi
400400 fi
401401
402- # shellcheck
402+ # Install shellcheck
403403 if command_exists shellcheck; then
404404 log_success " shellcheck already installed: $( shellcheck --version | head -2 | tail -1) "
405405 else
@@ -464,7 +464,7 @@ if [[ "${SKIP_TOOLS}" == "false" ]]; then
464464 if [[ " ${OS} " == " darwin" ]]; then
465465 brew install tilt-dev/tap/ctlptl
466466 elif [[ " ${OS} " == " linux" ]]; then
467- go install github.com/tilt-dev/ctlptl/cmd/ctlptl@v${CTLPTL_VERSION}
467+ go install github.com/tilt-dev/ctlptl/cmd/ctlptl@v" ${CTLPTL_VERSION} "
468468 sudo cp " $( go env GOPATH) /bin/ctlptl" /usr/local/bin/
469469 fi
470470 log_success " ctlptl installed"
@@ -497,8 +497,8 @@ if [[ "${SKIP_TOOLS}" == "false" ]] && command_exists go; then
497497 log_info " protoc-gen-go-grpc: ${PROTOC_GEN_GO_GRPC_VERSION} "
498498
499499 if prompt_continue; then
500- go install google.golang.org/protobuf/cmd/protoc-gen-go@${PROTOC_GEN_GO_VERSION}
501- go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@${PROTOC_GEN_GO_GRPC_VERSION}
500+ go install google.golang.org/protobuf/cmd/protoc-gen-go@" ${PROTOC_GEN_GO_VERSION} "
501+ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@" ${PROTOC_GEN_GO_GRPC_VERSION} "
502502 log_success " Go protobuf/gRPC tools installed"
503503 fi
504504
0 commit comments