mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
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>
13 lines
201 B
Bash
Executable File
13 lines
201 B
Bash
Executable File
#!/bin/sh
|
|
# CHECK-INSTALL
|
|
|
|
. ./funcs.sh
|
|
|
|
if test -z ${PYTHON}; then
|
|
PYTHON=python
|
|
fi
|
|
has_or_fail ${PYTHON}
|
|
|
|
${PYTHON} -c 'import xml.dom.minidom' 2>/dev/null || \
|
|
fail "can't import xml.dom.minidom"
|