From: Andrew Bartlett Date: Wed, 3 Jun 2020 04:16:49 +0000 (+1200) Subject: Remove outdated install_with_python.sh X-Git-Tag: ldb-2.2.0~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad7639a12796e269c130ead21dc2299ae640c586;p=thirdparty%2Fsamba.git Remove outdated install_with_python.sh This was a cludge to help get past the need for Python on the Samba build farm in particular. We now need Python3 by default so clearly this has not been used in quite some time so is safe to remove. Signed-off-by: Andrew Bartlett Reviewed-by: Jeremy Allison --- diff --git a/install_with_python.sh b/install_with_python.sh deleted file mode 100755 index 9335cfe2be8..00000000000 --- a/install_with_python.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -# this script installs a private copy of python in the same prefix as Samba - -if [ $# -lt 1 ]; then -cat < checksums.sha256 - sha256sum --status -c checksums.sha256 - else - echo "c83cf77f32463c3949b85c94f661c090 Python-2.6.5.tar" > checksums.md5 - md5sum --status -c checksums.md5 - fi - - tar -xf $VERSION.tar - cd $VERSION - ./configure --prefix=$PREFIX/python --enable-shared --disable-ipv6 - make - make install - cd ../.. - rm -rf python_install -} - -cleanup_install_python() { - rm -rf python_install - exit 1 -} - -if [ ! -d $PREFIX/python ]; then - trap "cleanup_install_python" 0 - # needs to be installed - do_install_python -fi - -PYTHON=$PREFIX/python/bin/python -export PYTHON - -`dirname $0`/configure --prefix=$PREFIX $@ || exit 1 -make -j || exit 1 -make install || exit 1