From 2f1a602c4bc8988c538297dbf49e6c9b486e2441 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 28 Jun 2012 13:47:35 +0100 Subject: python: Set PYTHON in run script. --- python/Makefile.am | 4 +--- 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 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 -- cgit