pkg(go-1.16.2): Fix build.sh to follow redirects

This commit is contained in:
Victor Frazao 2021-03-14 10:44:26 -04:00 committed by Thomas
parent eac95d8c6b
commit 4dade61599
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/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 tar -xzf go1.16.2.linux-amd64.tar.gz
rm go1.16.2.linux-amd64.tar.gz rm go1.16.2.linux-amd64.tar.gz

View File

@ -1,2 +1,2 @@
export PATH=$PWD/go/bin:$PATH export PATH=$PWD/go/bin:$PATH
export GOPATH=$PWD/gopath export GOPATH=$PWD/gopath