mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
tools/check: No need to check for ${PYTHON} existence.
It must exist as otherwise the build will fail since we reference $(PYTHON) all over the place. Furthermore the fallback of '/usr/bin/env python' actually runs Python, it doesn't get the path to it. So that wouldn't work very well. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
0df83ebb36
commit
c8d0c0aba3
3 files changed
-10
No files matched your search
@@ -3,10 +3,6 @@
|
||||
|
||||
. ./funcs.sh
|
||||
|
||||
if test -z ${PYTHON}; then
|
||||
PYTHON=`/usr/bin/env python 2>/dev/null`
|
||||
fi
|
||||
|
||||
${PYTHON} -c '
|
||||
import sys
|
||||
sys.exit(sys.version_info[0] < 2 or sys.version_info[1] < 2)
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
. ./funcs.sh
|
||||
|
||||
if test -z ${PYTHON}; then
|
||||
PYTHON=`/usr/bin/env python 2>/dev/null`
|
||||
fi
|
||||
has_or_fail ${PYTHON}
|
||||
|
||||
${PYTHON} -c '
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
. ./funcs.sh
|
||||
|
||||
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 || \
|
||||
|
||||