diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-28 13:47:35 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-28 13:47:35 +0100 |
commit | 2f1a602c4bc8988c538297dbf49e6c9b486e2441 (patch) | |
tree | 4e92bb82e7973a691a6fa31c5ff6265057a9388a | |
parent | 04a533ca8c8fcea6d84a14f4ae8a672df94a2e46 (diff) | |
download | libguestfs-2f1a602c4bc8988c538297dbf49e6c9b486e2441.tar.gz libguestfs-2f1a602c4bc8988c538297dbf49e6c9b486e2441.tar.xz libguestfs-2f1a602c4bc8988c538297dbf49e6c9b486e2441.zip |
python: Set PYTHON in run script.
-rw-r--r-- | python/Makefile.am | 4 | ||||
-rw-r--r-- | run.in | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/python/Makefile.am b/python/Makefile.am index 6ffb0d8d..84941b30 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -45,9 +45,7 @@ libguestfsmod_la_CFLAGS = -Wall -I$(PYTHON_INCLUDEDIR) \ libguestfsmod_la_LIBADD = $(top_builddir)/src/libguestfs.la libguestfsmod_la_LDFLAGS = -avoid-version -shared -TESTS_ENVIRONMENT = \ - PYTHON=$(PYTHON) \ - $(top_builddir)/run --test +TESTS_ENVIRONMENT = $(top_builddir)/run --test TESTS = run-bindtests @@ -64,6 +64,7 @@ fi export PERL5LIB # For Python. +export PYTHON=@PYTHON@ if [ -z "$PYTHONPATH" ]; then PYTHONPATH="$b/python:$b/python/.libs" else |