build: In install_with_python.sh force using the python from the install we just...
[gd/samba-autobuild/.git] / 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