File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ op_mode_definitions: $(op_xml_obj)
6969
7070 find $(BUILD_DIR)/op-mode-definitions/ -type f -name "*.xml" | xargs -I {} $(CURDIR)/scripts/build-command-op-templates {} $(CURDIR)/schema/op-mode-definition.rng $(OP_TMPL_DIR) || exit 1
7171
72- $(CURDIR)/python/vyos/xml_ref/generate_op_cache.py --xml-dir $(BUILD_DIR)/op-mode-definitions || exit 1
72+ $(CURDIR)/python/vyos/xml_ref/generate_op_cache.py --check-path-ambiguity -- xml-dir $(BUILD_DIR)/op-mode-definitions || exit 1
7373
7474 # XXX: tcpdump, ping, traceroute and mtr must be able to recursivly call themselves as the
7575 # options are provided from the scripts themselves
Original file line number Diff line number Diff line change @@ -280,6 +280,7 @@ def main():
280280 else :
281281 print ('Found the following duplicate paths:\n ' )
282282 print (out )
283+ sys .exit (1 )
283284
284285 with open (op_ref_cache , 'w' ) as f :
285286 f .write ('from vyos.xml_ref.op_definition import NodeData\n ' )
You can’t perform that action at this time.
0 commit comments