summaryrefslogtreecommitdiff
path: root/scripts/build-command-op-templates
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-14 04:47:12 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-14 05:38:59 +0200
commit6a88f32eea3850d58411b854ba102a2baa978158 (patch)
tree427a5d1b474a66843fb09a32591e48c1ed14e462 /scripts/build-command-op-templates
parent32b6793b210505a2a69dc6f7615ddd5f66ad74b8 (diff)
downloadvyos-1x-6a88f32eea3850d58411b854ba102a2baa978158.tar.gz
vyos-1x-6a88f32eea3850d58411b854ba102a2baa978158.zip
T633: build integration and minor fixes in the op mode command generator.
Diffstat (limited to 'scripts/build-command-op-templates')
-rwxr-xr-xscripts/build-command-op-templates2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-command-op-templates b/scripts/build-command-op-templates
index 6b6688fba..72879fe74 100755
--- a/scripts/build-command-op-templates
+++ b/scripts/build-command-op-templates
@@ -145,7 +145,7 @@ def make_node_def(props, command):
if command is not None:
- node_def += "run: sudo sh -c {0}\n".format(command.text)
+ node_def += "run: sudo sh -c \"{0}\"\n".format(command.text)
if debug: