Skip to content

Commit e1fb26c

Browse files
committed
Correct source install on Debian
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 6d30a90 commit e1fb26c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,11 @@ jobs:
130130
python_version: '3.6'
131131
install_python: |
132132
set -ex
133-
sudo apt-get install curl
134-
curl https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tgz
135-
tar -xvf Python-3.6.8.tgz
136-
cd Python-3.6.8
133+
sudo apt-get install -y curl
134+
PYVER=3.6.8
135+
curl -o Python-$PYVER.tgz https://www.python.org/ftp/python/$PYVER/Python-$PYVER.tgz
136+
tar -xvf Python-$PYVER.tgz
137+
cd Python-$PYVER
137138
./configure --enable-optimizations
138139
make -j8
139140
sudo make altinstall

0 commit comments

Comments
 (0)