Skip to content
Snippets Groups Projects
Commit 6945e85b authored by Alexander A. Klimov's avatar Alexander A. Klimov :sunglasses:
Browse files

icinga-provide-go: silence shellcheck warning SC2086

by adding quotes to strings
parent 27ff1180
No related branches found
No related tags found
1 merge request!4Allow running icinga-provide-go $ARCH
Pipeline #23361 passed
......@@ -6,15 +6,15 @@ ARCH_GO="${1:-amd64}"
set -ex
echo "Downloading Go Version ${VERSION_GO}"
curl -LO https://golang.org/dl/go${VERSION_GO}.linux-${ARCH_GO}.tar.gz
curl -LO "https://golang.org/dl/go${VERSION_GO}.linux-${ARCH_GO}.tar.gz"
rm -rf /usr/local/go
echo "Unpacking Go"
tar -C /usr/local -xzf go${VERSION_GO}.linux-${ARCH_GO}.tar.gz
tar -C /usr/local -xzf "go${VERSION_GO}.linux-${ARCH_GO}.tar.gz"
echo "Deleting Go Binary Archive"
rm -rf go${VERSION_GO}.linux-${ARCH_GO}.tar.gz
rm -rf "go${VERSION_GO}.linux-${ARCH_GO}.tar.gz"
ln -s /usr/local/go/bin/* /usr/local/bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment