ia64/xen-unstable

annotate tools/check/check_crypto_lib @ 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 75697d623a2b
rev   line source
kfraser@13032 1 #!/bin/sh
kfraser@12416 2 # CHECK-BUILD CHECK-INSTALL
kfraser@12416 3
kfraser@13032 4 RC=0
kfraser@12416 5
kfraser@12416 6 set -e
kfraser@13032 7 ldconfig -v 2>&1 | grep -q libcrypto.so || RC=1
kfraser@13032 8
kfraser@13032 9 if test ${RC} -ne 0; then
kfraser@13032 10 echo
kfraser@13032 11 echo " *** Check for crypto library FAILED"
kfraser@13032 12 fi
kfraser@13032 13
kfraser@13032 14 exit ${RC}