Suppress the superfluous "validates" messages from the xmllint output

This commit is contained in:
2014-04-12 01:32:23 -04:00
parent a6a030052c
commit 9d6867d15b

View File

@@ -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 */