summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-08-09 09:03:28 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-08-09 09:03:28 -0500
commite4b932ed0a140c9ced9a4eb501d520560b125406 (patch)
treee9834ad4b9ea9a04f0f89bd98b0b463e14dada65 /Makefile
parent9acce7a3c7c87139de291d39c69a90801ac25691 (diff)
downloadvyos-1x-e4b932ed0a140c9ced9a4eb501d520560b125406.tar.gz
vyos-1x-e4b932ed0a140c9ced9a4eb501d520560b125406.zip
xml: T5452: catch lib errors in generate_cache
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fe17ce994..b75a78784 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ interface_definitions: $(config_xml_obj)
$(CURDIR)/scripts/override-default $(BUILD_DIR)/interface-definitions
- $(CURDIR)/python/vyos/xml_ref/generate_cache.py --xml-dir $(BUILD_DIR)/interface-definitions
+ $(CURDIR)/python/vyos/xml_ref/generate_cache.py --xml-dir $(BUILD_DIR)/interface-definitions || exit 1
find $(BUILD_DIR)/interface-definitions -type f -name "*.xml" | xargs -I {} $(CURDIR)/scripts/build-command-templates {} $(CURDIR)/schema/interface_definition.rng $(TMPL_DIR) || exit 1