projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ad74c5
)
xen: build fix for NetBSD (test -x usage).
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 5 Jun 2008 09:34:01 +0000
(10:34 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 5 Jun 2008 09:34:01 +0000
(10:34 +0100)
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen/tools/get-fields.sh
patch
|
blob
|
history
diff --git
a/xen/tools/get-fields.sh
b/xen/tools/get-fields.sh
index 0a3885bea74128198ae3a4b4057914487c9df698..49019a43beb60f968ee7eacca3cbb3fd11d66bec 100644
(file)
--- a/
xen/tools/get-fields.sh
+++ b/
xen/tools/get-fields.sh
@@
-2,7
+2,9
@@
test -n "$1" -a -n "$2" -a -n "$3"
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 ()
{