Update my copyright
[build-farm.git] / install_python.fns
index 763865cb7e753cfa6beb454ab89430a80ac2752d..d3c4d6445099560ec22f1183a1565b2a4707ebba 100644 (file)
@@ -9,19 +9,16 @@ VERSION="Python-2.6.5"
 do_install_python() {
    ( 
        mkdir -p python_install || exit 1
-       rsync -av samba.org::ftp/tridge/python/$VERSION.tgz python_install || exit 1
+       rsync -avz samba.org::ftp/tridge/python/$VERSION.tar python_install || exit 1
        cd python_install || exit 1;
-       rm -f $VERSION.tar
-       gunzip $VERSION.tgz || exit 1
        rm -rf $VERSION || exit 1
        tar -xf $VERSION.tar || exit 1
        cd $VERSION || exit 1
-       ./configure --prefix=$HOME/python --disable-ipv6 || exit 1
+       ./configure --prefix=$HOME/python --disable-ipv6 --enable-shared || exit 1
        make || exit 1
        make install || exit 1
-       cd ..
-       rm -rf $VERSION || exit 1     
-       cd .. || exit 1
+       cd ../.. || exit 1
+       rm -rf python_install || exit 1
        rsync install_python.fns $HOME/python || exit 1
    ) > install_python.$host.log 2>&1