ia64/xen-unstable

view tools/check/check_crypto_lib @ 14028:75697d623a2b

add /sbin to the $PATH and use ldconfig -p instead of ldconfig -v
author Vincent Hanquez <vincent@xensource.com>
date Tue Feb 20 14:12:12 2007 +0000 (2007-02-20)
parents afc6b5a60866
children 974c00dec723
line source
1 #!/bin/sh
2 # CHECK-BUILD CHECK-INSTALL
4 RC=0
6 PATH=/sbin:$PATH
7 set -e
8 ldconfig -p 2>&1 | grep -q libcrypto.so || RC=1
10 if test ${RC} -ne 0; then
11 echo
12 echo " *** Check for crypto library FAILED"
13 fi
15 exit ${RC}