From b1449aa2bd2008f51b75a9976108f416209a5567 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 16 Mar 2022 20:26:38 +0100 Subject: T3506: loadkey: fix build error Commit 92f6feca ("T3506: loadkey: Add `generate public-key-command` command") backported a change from current for the op-mode command definitions. Unfortunately VyOS 1.3 (equuleus) uses the old GCC preprocessor which is unable to properly handle long strings containing control characters lilke // (CPP-comment). --- op-mode-definitions/generate-public-key-command.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op-mode-definitions/generate-public-key-command.xml.in b/op-mode-definitions/generate-public-key-command.xml.in index 21f0f56f0..024cfe594 100644 --- a/op-mode-definitions/generate-public-key-command.xml.in +++ b/op-mode-definitions/generate-public-key-command.xml.in @@ -19,7 +19,7 @@ Local path or remote URL of OpenSSH public key - :@]/> [:]@]/> /> [:]@]/> [:]@]/> <[file://]/>]]> + URL PATH ${vyos_op_scripts_dir}/generate_public_key_command.py "$4" "$6" -- cgit v1.2.3