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] Fix check_udev in the case where udev is

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix check_udev in the case where udev is missing -- test's -a does not shortcut.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Dec 2006 12:40:15 +0000
Delivery-date: Fri, 15 Dec 2006 04:39:48 -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 Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 2732b6ab217be2773af464b2699347247dd052d9
# Parent  c3425346188cddeb7a917c072a91a89c62063106
Fix check_udev in the case where udev is missing -- test's -a does not shortcut.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/check/check_udev |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r c3425346188c -r 2732b6ab217b tools/check/check_udev
--- a/tools/check/check_udev    Fri Dec 15 09:39:26 2006 +0000
+++ b/tools/check/check_udev    Fri Dec 15 09:50:33 2006 +0000
@@ -10,9 +10,10 @@ OpenBSD|NetBSD|FreeBSD)
        ;;
 Linux)
        TOOL="udevinfo"
+       UDEV_VERSION="0"
        test -x "$(which ${TOOL})" && \
                UDEV_VERSION=$(${TOOL} -V | sed -e 's/^[^0-9]* 
\([0-9]\{1,\}\)[^0-9]\{0,\}/\1/')
-       if test -n "${UDEV_VERSION}" -a ${UDEV_VERSION} -ge 059; then
+       if test "${UDEV_VERSION}" -ge 059; then
                RC=0
        else
                TOOL="hotplug"

_______________________________________________
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] Fix check_udev in the case where udev is missing -- test's -a does not shortcut., Xen patchbot-unstable <=