From: Keir Fraser Date: Thu, 5 Jun 2008 09:34:01 +0000 (+0100) Subject: xen: build fix for NetBSD (test -x usage). X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14200^2~98 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5ecfc3555d01658e281e1fd177677490ec57a6d9;p=xen.git xen: build fix for NetBSD (test -x usage). Signed-off-by: Christoph Egger --- diff --git a/xen/tools/get-fields.sh b/xen/tools/get-fields.sh index 0a3885bea7..49019a43be 100644 --- 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 () {