ia64/xen-unstable

view tools/check/check_x11_devel @ 13032:afc6b5a60866

[TOOLS] Fix check-script compatibility with non-bash shells.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Thu Dec 14 16:00:31 2006 +0000 (2006-12-14)
parents d0eb5da1086b
children 6ba04ec03dec
line source
1 #!/bin/sh
2 # CHECK-BUILD
4 RC=0
6 set -e
7 test -r /usr/include/X11/keysymdef.h || \
8 test -r /usr/X11R6/include/X11/keysymdef.h || RC=1
10 if test ${RC} -ne 0; then
11 echo
12 echo " *** Check for x11 headers FAILED"
13 fi
15 exit ${RC}