summaryrefslogtreecommitdiff
path: root/install_with_python.sh
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-01-10 08:51:34 +1100
committerStefan Metzmacher <metze@samba.org>2013-01-10 12:07:03 +0100
commit8e84c33a6094288ec2c8964588c679a71742e855 (patch)
treea75ea860fc751912221912a79661c6719e9f8331 /install_with_python.sh
parent7acacdfc05d3162b2879b6ac80d0809b5af96f1e (diff)
downloadsamba-8e84c33a6094288ec2c8964588c679a71742e855.tar.gz
build: In install_with_python.sh force using the python from the install we just made
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'install_with_python.sh')
-rwxr-xr-xinstall_with_python.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/install_with_python.sh b/install_with_python.sh
index d7ae55da123..5d3beaa9626 100755
--- a/install_with_python.sh
+++ b/install_with_python.sh
@@ -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