fully cleanup after the python install
authortridge <tridge@1e5ffdc8-eadd-0310-9daa-9cb4117fe24b>
Sat, 3 Apr 2010 08:31:40 +0000 (08:31 +0000)
committertridge <tridge@1e5ffdc8-eadd-0310-9daa-9cb4117fe24b>
Sat, 3 Apr 2010 08:31:40 +0000 (08:31 +0000)
git-svn-id: file:///home/svn/build-farm/trunk@954 1e5ffdc8-eadd-0310-9daa-9cb4117fe24b

install_python.fns

index 763865cb7e753cfa6beb454ab89430a80ac2752d..3137ac3c5c2d2e464245c013dfed11095db8a655 100644 (file)
@@ -19,9 +19,8 @@ do_install_python() {
        ./configure --prefix=$HOME/python --disable-ipv6 || 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