From 19a0faf4316a89e0a4ced32b8d3ea4b4ba9c3b18 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Jul 2014 13:57:48 +0200 Subject: Make uname execution more robust Mac OS X doesn't recognize the -o option --- dist/examples/cxx/tree/custom/comments/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist/examples/cxx/tree/custom/comments/makefile') diff --git a/dist/examples/cxx/tree/custom/comments/makefile b/dist/examples/cxx/tree/custom/comments/makefile index 4c231c6..442ab86 100644 --- a/dist/examples/cxx/tree/custom/comments/makefile +++ b/dist/examples/cxx/tree/custom/comments/makefile @@ -24,7 +24,7 @@ people.cxx people.ixx people.hxx: people.xsd XML_SCHEMA_XSDFLAGS := --generate-xml-schema --generate-serialization \ --hxx-epilogue '\#include "xml-schema-custom.hxx"' -ifneq ($(shell uname -o),Msys) +ifneq ($(shell uname -o 2>&1),Msys) XML_SCHEMA_XSDFLAGS += --custom-type anyType=/type_base else # Prevent MSYS from converting / to Windows path. -- cgit v1.1