diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2015-02-03 16:50:52 -0800 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2015-02-03 16:50:55 -0800 |
commit | 6a6b50fb6ccb945d80552cd9441051edc545666a (patch) | |
tree | 91682d89a75ffe347ed775bd7ab14fe130e77c4a | |
parent | 19f9674877902e7e67b6c48df04571b040fdef50 (diff) | |
download | taskflow-6a6b50fb6ccb945d80552cd9441051edc545666a.tar.gz |
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
-rw-r--r-- | tools/env_builder.sh | 9 |
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 |