diff --git a/README.md b/README.md index 0a0baf7..0f30ada 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ ____ **Dependencies:** > -> * [bash](https://www.gnu.org/software/bash/) (tested version 5.1.4 on [Debian GNU/Linux 11](http://ftp.debian.org/debian/dists/bullseye/)) +> * [bash](https://www.gnu.org/software/bash/) (tested versions: 5.1.4 on [Debian GNU/Linux 11](http://ftp.debian.org/debian/dists/bullseye/), 5.0.17 on [Ubuntu 20](https://wiki.ubuntu.com/FocalFossa/ReleaseNotes), 4.2.46 on [CentOS 7](https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7.2009)) | POSITION | PARAMETERS | DESCRIPTION | DEFAULT | |-----------|--------------|------------------------|---------------| @@ -30,7 +30,13 @@ Example usage in terminal with make the script executable: ```bash wget https://git.hmp.today/pavel.muhortov/utils/raw/branch/master/build-python.sh chmod u+x ./build-python.sh -sudo ./build-python.sh qn 3.9.5 ./build-python.log +sudo ./build-python.sh - 3.9.5 +``` + +Example usage in terminal without download: + +```bash +sudo su - -c "bash <(curl -s https://git.hmp.today/pavel.muhortov/utils/raw/branch/master/build-python.sh) qn 3.9.5 install-python.log" ``` ____ diff --git a/build-python.sh b/build-python.sh index 2fd554d..426832b 100644 --- a/build-python.sh +++ b/build-python.sh @@ -147,7 +147,7 @@ downloadcode(){ bulidingcode(){ cd "Python-${subvers}" || execerror "cd" ./configure --enable-optimizations --prefix=/usr/local/opt/python-"${version}" - make + make clean } #######################################