ia64/xen-unstable

changeset 14023:93035b689834

add /sbin to the $PATH for debian's ldconfig.
use ldconfig -p instead of -v that doesn't require root privilege to work.
author Vincent Hanquez <vincent@xensource.com>
date Tue Feb 20 12:22:40 2007 +0000 (2007-02-20)
parents 0a348e9ecedb
children ecb6cd61a9cf
files tools/check/check_zlib_lib
line diff
     1.1 --- a/tools/check/check_zlib_lib	Tue Feb 20 12:18:29 2007 +0000
     1.2 +++ b/tools/check/check_zlib_lib	Tue Feb 20 12:22:40 2007 +0000
     1.3 @@ -3,8 +3,10 @@
     1.4  
     1.5  RC=0
     1.6  
     1.7 +PATH=/sbin:$PATH
     1.8 +
     1.9  set -e
    1.10 -ldconfig -v 2>&1 | grep -q libz.so || RC=1
    1.11 +ldconfig -p 2>&1 | grep -q libz.so || RC=1
    1.12  
    1.13  if test ${RC} -ne 0; then
    1.14  	echo