summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-02-07 19:49:29 +0000
committerGerrit Code Review <review@openstack.org>2015-02-07 19:49:29 +0000
commit6c12a17e7bbe1127f24f813b0c6f3759e85eab2a (patch)
tree5b509698eebb355f536556ecee7aaa60baf9fec9
parenta2bb00c68ae8f8ba681558970ac6f97ad282a7ff (diff)
parent6a6b50fb6ccb945d80552cd9441051edc545666a (diff)
downloadtaskflow-6c12a17e7bbe1127f24f813b0c6f3759e85eab2a.tar.gz
Merge "Bump up the env_builder.sh to 2.7.9"
-rw-r--r--tools/env_builder.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/env_builder.sh b/tools/env_builder.sh
index 7adb39e..4683db1 100644
--- a/tools/env_builder.sh
+++ b/tools/env_builder.sh
@@ -57,18 +57,19 @@ cd $build_dir
# Get python 2.7 installed (if it's not).
if [ -z "$python_27" ]; then
- py_file="Python-2.7.7.tgz"
+ py_version="2.7.9"
+ py_file="Python-$py_version.tgz"
py_base_file=${py_file%.*}
- py_url="https://www.python.org/ftp/python/2.7.7/$py_file"
+ py_url="https://www.python.org/ftp/python/$py_version/$py_file"
- Box "Building python 2.7..."
+ Box "Building python 2.7 (version $py_version)..."
wget $py_url -O "$build_dir/$py_file" --no-check-certificate -nv
tar -xf "$py_file"
cd $build_dir/$py_base_file
./configure --disable-ipv6 -q
make --quiet
- Box "Installing python 2.7..."
+ Box "Installing python 2.7 (version $py_version)..."
make altinstall >/dev/null 2>&1
python_27=/usr/local/bin/python2.7
fi