debuggers.hg

view tools/check/check_python_xml @ 19957:7b8f6416aae4

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

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jul 09 17:05:07 2009 +0100 (2009-07-09)
parents bcae9d2cc2f8
children bc80ccb79c5b
line source
1 #!/bin/sh
2 # CHECK-INSTALL
4 . ./funcs.sh
6 if test -z ${PYTHON}; then
7 PYTHON=`/usr/bin/env python 2>/dev/null`
8 fi
9 has_or_fail ${PYTHON}
11 ${PYTHON} -c 'import xml.dom.minidom' 2>/dev/null || \
12 fail "can't import xml.dom.minidom"