|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix udev check.
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1168612361 0
# Node ID 3b4ddf62f6574d6c43cb25e8177c77a4120f00ef
# Parent 9c6531217c7c79158fe8f9a5d23b421869badabd
Fix udev check.
Quiesce 'which' invocation, and allow expanding variables in error
message.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
tools/check/check_udev | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 9c6531217c7c -r 3b4ddf62f657 tools/check/check_udev
--- a/tools/check/check_udev Fri Jan 12 14:22:28 2007 +0000
+++ b/tools/check/check_udev Fri Jan 12 14:32:41 2007 +0000
@@ -11,7 +11,7 @@ Linux)
Linux)
TOOL="udevinfo"
UDEV_VERSION="0"
- test -x "$(which ${TOOL})" && \
+ test -x "$(which ${TOOL} 2>/dev/null)" && \
UDEV_VERSION=$(${TOOL} -V | sed -e 's/^[^0-9]*
\([0-9]\{1,\}\)[^0-9]\{0,\}/\1/')
if test "${UDEV_VERSION}" -ge 059; then
RC=0
@@ -28,7 +28,7 @@ esac
if test ${RC} -ne 0; then
echo
- echo ' *** Check for ${TOOL} FAILED'
+ echo " *** Check for ${TOOL} FAILED"
fi
exit ${RC}
_______________________________________________
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 udev check.,
Xen patchbot-unstable <=
|
|
|
|
|