pass follow redirects for curl to fix travis

This commit is contained in:
Samuel Husso 2017-12-19 08:27:52 +02:00
parent c8fb6c4661
commit 285308dcbe

View File

@ -1,5 +1,5 @@
if [ ! -f "ta-lib/CHANGELOG.TXT" ]; then if [ ! -f "ta-lib/CHANGELOG.TXT" ]; then
curl -O http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz curl -O -L http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
tar zxvf ta-lib-0.4.0-src.tar.gz tar zxvf ta-lib-0.4.0-src.tar.gz
cd ta-lib && ./configure && make && sudo make install && cd .. cd ta-lib && ./configure && make && sudo make install && cd ..
else else