mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-29 18:31:38 +00:00
try curl instead of wget
This commit is contained in:
@@ -47,7 +47,8 @@ else
|
|||||||
cd ~/pybuild
|
cd ~/pybuild
|
||||||
# Compile latest Python
|
# Compile latest Python
|
||||||
if [ ! -d Python-$BUILD_PYTHON_VERSION ]; then
|
if [ ! -d Python-$BUILD_PYTHON_VERSION ]; then
|
||||||
wget https://www.python.org/ftp/python/$BUILD_PYTHON_VERSION/Python-$BUILD_PYTHON_VERSION.tar.xz
|
echo "Downloading Python $BUILD_PYTHON_VERSION..."
|
||||||
|
curl -O https://www.python.org/ftp/python/$BUILD_PYTHON_VERSION/Python-$BUILD_PYTHON_VERSION.tar.xz
|
||||||
echo "Extracting Python..."
|
echo "Extracting Python..."
|
||||||
tar xf Python-$BUILD_PYTHON_VERSION.tar.xz
|
tar xf Python-$BUILD_PYTHON_VERSION.tar.xz
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user