follow redirects
This commit is contained in:
parent
ceed33800c
commit
752f00a656
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ tarball() {
|
||||||
name=$1
|
name=$1
|
||||||
url=$2
|
url=$2
|
||||||
echo get $name from $url
|
echo get $name from $url
|
||||||
test -e $name || ( curl $url > $name.tar.gz && tar xzf $name.tar.gz && rm $name.tar.gz )
|
test -e $name || ( curl -L $url > $name.tar.gz && tar xzf $name.tar.gz && rm $name.tar.gz )
|
||||||
}
|
}
|
||||||
|
|
||||||
file() {
|
file() {
|
||||||
|
|
Loading…
Reference in a new issue