python: fix new url download + ensure we are following any redirection in the future. closes #85

This commit is contained in:
Mathieu Virbel 2014-03-24 12:16:58 +01:00
parent 8b4e2721fb
commit 12f233cedb

View file

@ -8,7 +8,7 @@
# download python and patch if they aren't there
if [ ! -f $CACHEROOT/Python-$IOS_PYTHON_VERSION.tar.bz2 ]; then
curl http://legacy.python.org/ftp//python/$IOS_PYTHON_VERSION/Python-$IOS_PYTHON_VERSION.tar.bz2 > $CACHEROOT/Python-$IOS_PYTHON_VERSION.tar.bz2
curl -L https://www.python.org/ftp//python/$IOS_PYTHON_VERSION/Python-$IOS_PYTHON_VERSION.tar.bz2 > $CACHEROOT/Python-$IOS_PYTHON_VERSION.tar.bz2
fi
# get rid of old build