follow redirects

This commit is contained in:
j 2014-05-16 00:31:00 +02:00
parent ceed33800c
commit 752f00a656

View file

@ -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() {