diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-01-10 08:51:34 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-01-10 12:07:03 +0100 |
commit | 8e84c33a6094288ec2c8964588c679a71742e855 (patch) | |
tree | a75ea860fc751912221912a79661c6719e9f8331 /install_with_python.sh | |
parent | 7acacdfc05d3162b2879b6ac80d0809b5af96f1e (diff) | |
download | samba-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-x | install_with_python.sh | 3 |
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 |