Skip to content

Commit 50a8ac8

Browse files
committed
Grab tar.xz
1 parent 91d954d commit 50a8ac8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ fi
1818
REVISION="python-${VERSION}"
1919
initialise "${REVISION}" "${OUTPUT}" "${LAST_REVISION}"
2020

21+
curl -sL https://www.python.org/ftp/python/${VERSION}/Python-${VERSION}.tar.xz | tar Jxf -
22+
2123
SSL_PREFIX=/root/ssl
2224
SSL_VERSION=3.3.2
2325
curl -sL https://github.com/openssl/openssl/releases/download/openssl-${SSL_VERSION}/openssl-${SSL_VERSION}.tar.gz | tar zxf -
@@ -35,7 +37,6 @@ export LD_LIBRARY_PATH=${SSL_PREFIX}/lib64
3537

3638
DEST=/root/python
3739

38-
curl -sL https://www.python.org/ftp/python/${VERSION}/Python-${VERSION}.tgz | tar zxf -
3940
pushd Python-${VERSION}
4041
./configure \
4142
--prefix=${DEST} \

0 commit comments

Comments
 (0)