ia64/xen-unstable

changeset 17786:02132fc864b4

xen: build fix for NetBSD (test -x usage).
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 05 10:34:01 2008 +0100 (2008-06-05)
parents 0204b5368145
children 24c86abbb387
files xen/tools/get-fields.sh
line diff
     1.1 --- a/xen/tools/get-fields.sh	Thu Jun 05 10:33:01 2008 +0100
     1.2 +++ b/xen/tools/get-fields.sh	Thu Jun 05 10:34:01 2008 +0100
     1.3 @@ -2,7 +2,9 @@ test -n "$1" -a -n "$2" -a -n "$3"
     1.4  set -ef
     1.5  
     1.6  SED=sed
     1.7 -test -x /usr/xpg4/bin/sed && SED=/usr/xpg4/bin/sed
     1.8 +if test -x /usr/xpg4/bin/sed; then
     1.9 +	SED=/usr/xpg4/bin/sed
    1.10 +fi
    1.11  
    1.12  get_fields ()
    1.13  {