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

[Xen-changelog] [xen-unstable] add /sbin to the $PATH for debian's ldconfig.



# HG changeset patch
# User Vincent Hanquez <vincent@xxxxxxxxxxxxx>
# Date 1171974160 0
# Node ID 93035b689834f805ad62a70b3e7585593758987d
# Parent  0a348e9ecedb0228f9089e1120df5ad2d69d9650
add /sbin to the $PATH for debian's ldconfig.
use ldconfig -p instead of -v that doesn't require root privilege to work.
---
 tools/check/check_zlib_lib |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r 0a348e9ecedb -r 93035b689834 tools/check/check_zlib_lib
--- a/tools/check/check_zlib_lib        Tue Feb 20 12:18:29 2007 +0000
+++ b/tools/check/check_zlib_lib        Tue Feb 20 12:22:40 2007 +0000
@@ -3,8 +3,10 @@
 
 RC=0
 
+PATH=/sbin:$PATH
+
 set -e
-ldconfig -v 2>&1 | grep -q libz.so || RC=1
+ldconfig -p 2>&1 | grep -q libz.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®.