Make python check scripts use of $(PYTHON) make variable.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
This commit is contained in:
Keir Fraser committed 2009-07-09 17:05:07 +01:00
1 parent 75577f42e0
commit df65440f41
4 files changed
+19 -5

No files matched your search

+6 -1
View File
@@ -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"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.