diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-07-23 22:40:01 +0159 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@hackbox.linaro.org> | 2014-06-06 08:05:17 +0100 |
commit | a1d8521b979738379b44e1ba806388de7e32fe18 (patch) | |
tree | 6841a4b72c4f9af69238d28f7c1e3d8e828cf27c | |
parent | 695501b5ce15aaf00ca2163ade75e11a12a758a5 (diff) | |
download | build-a1d8521b979738379b44e1ba806388de7e32fe18.tar.gz |
definitions.mk: Don't fail if xmllint isn't installed
This is a workaround for xmllint currently not being installed on the
build slaves. It should be reverted when this is fixed, as it eliminates
a check for sane code.
Change-Id: I46eeadebd931ee1b6812a9eb933ee4b56ebd16a7
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | core/definitions.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/definitions.mk b/core/definitions.mk index b35a6c391c..711c5ffbe3 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -1779,7 +1779,7 @@ endef define copy-xml-file-checked $(2): $(1) | $(ACP) @echo "Copy xml: $$@" - $(hide) xmllint $$< >/dev/null # Don't print the xml file to stdout. + $(hide) if which xmllint &>/dev/null; then xmllint $$< >/dev/null; fi # Don't print the xml file to stdout. $$(copy-file-to-target) endef |