From 9d6867d15bcd6f43686e3574b104339ee799344b Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sat, 12 Apr 2014 01:32:23 -0400 Subject: [PATCH] Suppress the superfluous "validates" messages from the xmllint output --- osx/BoE.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osx/BoE.xcodeproj/project.pbxproj b/osx/BoE.xcodeproj/project.pbxproj index 88bccbc9..7d6418a7 100644 --- a/osx/BoE.xcodeproj/project.pbxproj +++ b/osx/BoE.xcodeproj/project.pbxproj @@ -2507,8 +2507,8 @@ "$(DERIVED_FILE_DIR)/data/dialogs/*.xml", ); runOnlyForDeploymentPostprocessing = 0; - shellPath = "/bin/bash -v"; - shellScript = "\ncd ../rsrc/dialogs/\nset -o pipefail\nxmllint --nonet --noout --schema \"$SOURCE_ROOT/../rsrc/dialogs/dialog.xsd\" \"$SOURCE_ROOT/../rsrc/dialogs/\"*.xml 2>&1 | sed 's/%20/ /g'\n"; + shellPath = /bin/bash; + shellScript = "\nfunction filter() {\n\tgrep -v 'validates' -\n\treturn 0\n}\n\ncd ../rsrc/dialogs/\nset -o pipefail\nxmllint --nonet --noout --schema \"$SOURCE_ROOT/../rsrc/dialogs/dialog.xsd\" \"$SOURCE_ROOT/../rsrc/dialogs/\"*.xml 2>&1 | sed 's/%20/ /g' | filter\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */