summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/Makefile.am4
-rw-r--r--run.in1
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
diff --git a/run.in b/run.in
index cb55bcb3..2afe5a6d 100644
--- a/run.in
+++ b/run.in
@@ -64,6 +64,7 @@ fi
export PERL5LIB
# For Python.
+export PYTHON=@PYTHON@
if [ -z "$PYTHONPATH" ]; then
PYTHONPATH="$b/python:$b/python/.libs"
else