From 4dade61599d59c941ff373198be050e07562bada Mon Sep 17 00:00:00 2001 From: Victor Frazao Date: Sun, 14 Mar 2021 10:44:26 -0400 Subject: [PATCH] pkg(go-1.16.2): Fix build.sh to follow redirects --- packages/go/1.16.2/build.sh | 2 +- packages/go/1.16.2/environment | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/go/1.16.2/build.sh b/packages/go/1.16.2/build.sh index 2021e1f..c45964c 100755 --- a/packages/go/1.16.2/build.sh +++ b/packages/go/1.16.2/build.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -curl https://golang.org/dl/go1.16.2.linux-amd64.tar.gz -o go1.16.2.linux-amd64.tar.gz +curl -LO https://golang.org/dl/go1.16.2.linux-amd64.tar.gz tar -xzf go1.16.2.linux-amd64.tar.gz rm go1.16.2.linux-amd64.tar.gz diff --git a/packages/go/1.16.2/environment b/packages/go/1.16.2/environment index 1788638..88299c1 100644 --- a/packages/go/1.16.2/environment +++ b/packages/go/1.16.2/environment @@ -1,2 +1,2 @@ export PATH=$PWD/go/bin:$PATH -export GOPATH=$PWD/gopath \ No newline at end of file +export GOPATH=$PWD/gopath