mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
tools/check: We do need a default for ${PYTHON} as called from
install.sh with PYTHON possibly undefined in the environment. So we make PYTHON=python the sensible default. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
c8d0c0aba3
commit
0afa130b1f
3 files changed
+10
No files matched your search
@@ -3,6 +3,9 @@
|
||||
|
||||
. ./funcs.sh
|
||||
|
||||
if test -z ${PYTHON}; then
|
||||
PYTHON=python
|
||||
fi
|
||||
has_or_fail ${PYTHON}
|
||||
|
||||
${PYTHON} -c 'import xml.dom.minidom' 2>/dev/null || \
|
||||
|
||||