build: In install_with_python.sh force using the python from the install we just...
authorAndrew Bartlett <abartlet@samba.org>
Wed, 9 Jan 2013 21:51:34 +0000 (08:51 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 28 Jan 2013 10:07:34 +0000 (11:07 +0100)
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 8e84c33a6094288ec2c8964588c679a71742e855)

install_with_python.sh

index d7ae55da1238e44b56bb41aac8bd1617d86e173e..5d3beaa96269d0f8404e9b5d8ced9d820f8b2129 100755 (executable)
@@ -36,6 +36,9 @@ if ! test -d $PREFIX/python; then
    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