From b7fd5915a556d2a4a6bfe515540b158417f2a9de Mon Sep 17 00:00:00 2001
From: cclauss <cclauss@bluewin.ch>
Date: Sat, 23 Aug 2014 09:15:16 +0200
Subject: [PATCH] download_python()

---
 builds/runtimes/python-3.1.5 | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/builds/runtimes/python-3.1.5 b/builds/runtimes/python-3.1.5
index f538d93c..2a74e789 100755
--- a/builds/runtimes/python-3.1.5
+++ b/builds/runtimes/python-3.1.5
@@ -4,12 +4,10 @@
 
 OUT_PREFIX=$1
 
-echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.1.5/Python-3.1.5.tgz'
-curl -L $SOURCE_TARBALL | tar xz
-mv Python-3.1.5 src
-cd src
+source ./download_python
+download_python "3.1.5"
 
+cd src
 ./configure --prefix=$OUT_PREFIX --enable-shared
 make
 make install
-- 
GitLab