WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] add /sbin to the $PATH for debian's ldconfig.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Feb 2007 08:20:14 -0800
Delivery-date: Tue, 20 Feb 2007 08:20:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] add /sbin to the $PATH for debian's ldconfig., Xen patchbot-unstable <=