diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-04-02 11:16:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 11:16:23 +0200 |
commit | b01065a762e3e56100d3eb73136bc279f2041ce3 (patch) | |
tree | f40b212f8a30c27929e2dff9ecc1b64d317d053a | |
parent | d8c27642a3753513ae1d3c433fa46858a5ee946c (diff) | |
parent | 5b22ebae3ef729a385dd7c9c5d9beb8f2e250fff (diff) | |
download | vyos-1x-b01065a762e3e56100d3eb73136bc279f2041ce3.tar.gz vyos-1x-b01065a762e3e56100d3eb73136bc279f2041ce3.zip |
Merge pull request #672 from dmbaturin/check-for-empty-nodes
T3170: check if any generated node.def files are empty.
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -47,6 +47,8 @@ interface_definitions: $(config_xml_obj) rm -rf $(TMPL_DIR)/vpn/nipsec rm -rf $(TMPL_DIR)/npolicy + find $(TMPL_DIR) -name node.def -empty && sh -c 'echo "There are empty node.def files! Check your interface definitions." && exit 1' + .PHONY: op_mode_definitions .ONESHELL: op_mode_definitions: $(op_xml_obj) @@ -72,6 +74,8 @@ op_mode_definitions: $(op_xml_obj) # options are provided from the script itself ln -s ../node.tag $(OP_TMPL_DIR)/ping/node.tag/node.tag/ + find $(op_TMPL_DIR) -name node.def -empty && sh -c 'echo "There are empty node.def files! Check your interface definitions." && exit 1' + .PHONY: component_versions .ONESHELL: component_versions: interface_definitions |