mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-21 10:23:34 +02:00
Fix bash scripts
Fix bash scripts Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
@ -25,13 +25,13 @@ while [ $# -gt 0 ]; do
|
||||
done
|
||||
|
||||
# Download
|
||||
wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz
|
||||
tar xvf Python-${PYTHON_VERSION}.tgz
|
||||
wget "https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz"
|
||||
tar xvf "Python-${PYTHON_VERSION}.tgz"
|
||||
# Configure, build and install
|
||||
cd Python-${PYTHON_VERSION}
|
||||
cd "Python-${PYTHON_VERSION}" || exit 1
|
||||
# Disable --enable-shared --enable-optimizations --prefix=/usr/local/python-${PYTHON_VERSION}
|
||||
./configure --with-ensurepip=install
|
||||
make -j$(nproc)
|
||||
make -j"$(nproc) "
|
||||
make install #altinstall
|
||||
|
||||
ln -s /usr/local/bin/python3 /usr/local/bin/python
|
||||
@ -39,4 +39,4 @@ ln -s /usr/local/bin/pip3 /usr/local/bin/pip
|
||||
|
||||
# Clean
|
||||
cd ..
|
||||
rm -rf Python-${PYTHON_VERSION}
|
||||
rm -rf "Python-${PYTHON_VERSION}"
|
||||
|
Reference in New Issue
Block a user