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

[Xen-devel] [PATCH][XEN] Build fix for 64bit


The sh manpage for option -e says:

           -e errexit       If not interactive, exit immediately if any
                            untested command fails.  The exit status of a com-
                            mand is considered to be explicitly tested if the
                            command is used to control an if, elif, while, or
                            until; or if the command is the left hand operand
                            of an ``&&'' or ``||'' operator.

In short, the statement

test -x /usr/xpg4/bin/sed

fails on NetBSD (directory xpg4 does not exist)
and aborts build process immediately.
Attached patch fixes this.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>

AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy

Attachment: xen_build.diff
Description: Text Data

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.