This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
codespaces-linux/.devcontainer/library-scripts
go/.devcontainer/library-scripts Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ if [ "${TARGET_GO_VERSION}" != "none" ] && ! type go > /dev/null 2>&1; then
165
165
gpg -q --import /tmp/tmp-gnupg/golang_key
166
166
echo " Downloading Go ${TARGET_GO_VERSION} ..."
167
167
set +e
168
- curl -fsSL -o /tmp/go.tar.gz https://golang.org/dl/go1.177. linux-amd64 .tar.gz
168
+ curl -fsSL -o /tmp/go.tar.gz " https://golang.org/dl/go ${TARGET_GO_VERSION} . linux-${architecture} .tar.gz"
169
169
set -e
170
170
if [ ! -s " /tmp/go.tar.gz" ] || [ " $? " != " 0" ]; then
171
171
echo " (!) Download failed."
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ if [ "${TARGET_GO_VERSION}" != "none" ] && ! type go > /dev/null 2>&1; then
165
165
gpg -q --import /tmp/tmp-gnupg/golang_key
166
166
echo " Downloading Go ${TARGET_GO_VERSION} ..."
167
167
set +e
168
- curl -fsSL -o /tmp/go.tar.gz https://golang.org/dl/go1.177. linux-amd64 .tar.gz
168
+ curl -fsSL -o /tmp/go.tar.gz " https://golang.org/dl/go ${TARGET_GO_VERSION} . linux-${architecture} .tar.gz"
169
169
set -e
170
170
if [ ! -s " /tmp/go.tar.gz" ] || [ " $? " != " 0" ]; then
171
171
echo " (!) Download failed."
You can’t perform that action at this time.
0 commit comments