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

[Xen-changelog] [xen-unstable] xen: build fix for NetBSD (test -x usage).



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1212658441 -3600
# Node ID 02132fc864b436336aca20cb4aee60112d0fd5a9
# Parent  0204b53681454c3ab750660c909a3758ac88b952
xen: build fix for NetBSD (test -x usage).
Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 xen/tools/get-fields.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r 0204b5368145 -r 02132fc864b4 xen/tools/get-fields.sh
--- a/xen/tools/get-fields.sh   Thu Jun 05 10:33:01 2008 +0100
+++ b/xen/tools/get-fields.sh   Thu Jun 05 10:34:01 2008 +0100
@@ -2,7 +2,9 @@ set -ef
 set -ef
 
 SED=sed
-test -x /usr/xpg4/bin/sed && SED=/usr/xpg4/bin/sed
+if test -x /usr/xpg4/bin/sed; then
+       SED=/usr/xpg4/bin/sed
+fi
 
 get_fields ()
 {

_______________________________________________
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®.