pkg(go-1.16.2): Fix build.sh to follow redirects
This commit is contained in:
parent
eac95d8c6b
commit
4dade61599
|
@ -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
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
export PATH=$PWD/go/bin:$PATH
|
export PATH=$PWD/go/bin:$PATH
|
||||||
export GOPATH=$PWD/gopath
|
export GOPATH=$PWD/gopath
|
||||||
|
|
Loading…
Reference in New Issue