diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-05-08 19:14:09 +0100 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-05-08 19:14:09 +0100 |
commit | ff58182904882278a004f4d3d8082ec11adbe1ea (patch) | |
tree | f79a57f98a312897db529c47421c4f2c45a738e1 /scripts/build-command-templates | |
parent | 3639a5610b590a64d6d56bee81dddd252994cfe5 (diff) | |
parent | 29dee3abb55d0f0c6b91b311f30521b45d7e46b6 (diff) | |
download | vyos-1x-ff58182904882278a004f4d3d8082ec11adbe1ea.tar.gz vyos-1x-ff58182904882278a004f4d3d8082ec11adbe1ea.zip |
Merge branch 'current' of github.com:thomas-mangin/vyos-1x into T2417
Diffstat (limited to 'scripts/build-command-templates')
-rwxr-xr-x | scripts/build-command-templates | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-command-templates b/scripts/build-command-templates index c6534a6d8..767517b29 100755 --- a/scripts/build-command-templates +++ b/scripts/build-command-templates @@ -149,7 +149,7 @@ def get_properties(p): regex_args = " ".join(map(lambda s: "--regex \\\'{0}\\\'".format(s), regexes)) validator_args = " ".join(map(lambda s: "--exec \\\"{0}\\\"".format(s), validators)) - validator_script = '${vyos_libexec_dir}/validate-value.py' + validator_script = '${vyos_libexec_dir}/validate-value' validator_string = "exec \"{0} {1} {2} --value \\\'$VAR(@)\\\'\"; \"{3}\"".format(validator_script, regex_args, validator_args, error_msg) props["constraint"] = validator_string |