mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Make python check scripts use of $(PYTHON) make variable.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
This commit is contained in:
1 parent
75577f42e0
commit
df65440f41
4 files changed
+19
-5
No files matched your search
@@ -3,5 +3,10 @@
|
||||
|
||||
. ./funcs.sh
|
||||
|
||||
python -c 'import xml.dom.minidom' 2>/dev/null || \
|
||||
if test -z ${PYTHON}; then
|
||||
PYTHON=`/usr/bin/env python 2>/dev/null`
|
||||
fi
|
||||
has_or_fail ${PYTHON}
|
||||
|
||||
${PYTHON} -c 'import xml.dom.minidom' 2>/dev/null || \
|
||||
fail "can't import xml.dom.minidom"
|
||||