|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix check_udev in the case where udev is
# 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 <=
|
|
|
|
|