[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] add /sbin to the $PATH and use ldconfig -p instead of ldconfig -v



# HG changeset patch
# User Vincent Hanquez <vincent@xxxxxxxxxxxxx>
# Date 1171980732 0
# Node ID 75697d623a2bad13f204f67ffb55178d87904845
# Parent  e4ddec3dffb0b0dbd1fdc4dc51e1aafcba05bfb7
add /sbin to the $PATH and use ldconfig -p instead of ldconfig -v
---
 tools/check/check_crypto_lib |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r e4ddec3dffb0 -r 75697d623a2b tools/check/check_crypto_lib
--- a/tools/check/check_crypto_lib      Tue Feb 20 13:57:26 2007 +0000
+++ b/tools/check/check_crypto_lib      Tue Feb 20 14:12:12 2007 +0000
@@ -3,8 +3,9 @@
 
 RC=0
 
+PATH=/sbin:$PATH
 set -e
-ldconfig -v 2>&1 | grep -q libcrypto.so || RC=1
+ldconfig -p 2>&1 | grep -q libcrypto.so || RC=1
 
 if test ${RC} -ne 0; then
         echo

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.