From 6a6b50fb6ccb945d80552cd9441051edc545666a Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Tue, 3 Feb 2015 16:50:52 -0800 Subject: [PATCH] Bump up the env_builder.sh to 2.7.9 The latest python 2.x release is 2.7.9 and not 2.7.7 so when people are using this script to build a useful environment (that is lacking py2.7) use this newer version instead. Change-Id: I2fdd035e0b4efcacd6ef2da04d6cd8a56dcca512 --- tools/env_builder.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/env_builder.sh b/tools/env_builder.sh index 7adb39e9..4683db1e 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