Commit ebc04d7f authored by Marek Vavruša's avatar Marek Vavruša

build: follow redirects in dl links

parent edce5cf6
......@@ -44,7 +44,7 @@ function fetch_pkg {
[ ! -e $1 ] && git clone "$2" $1 &> /dev/null
cd $1; git checkout $3 &> /dev/null; cd -
else
[ ! -f $1.tar.${2##*.} ] && curl "$2" > $1.tar.${2##*.}
[ ! -f $1.tar.${2##*.} ] && curl -L "$2" > $1.tar.${2##*.}
tar xf $1.tar.${2##*.}
fi
cd $1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment