From 6f0f466fa752092b4ad7ae90231f31557fff0e06 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 11 Jun 2019 17:47:14 +0200 Subject: [PATCH] full_install_osm.sh: escaping spaces in OSMLCM_VCA_PUBKEY Change-Id: Iee1ed292fe24e7c68490579670c879c65cb658d4 Signed-off-by: garciadeblas --- installers/full_install_osm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 40cbfdad..193726f3 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -773,9 +773,9 @@ function generate_docker_env_files() { fi if ! grep -Fq "OSMLCM_VCA_PUBKEY" $OSM_DOCKER_WORK_DIR/lcm.env; then - echo "OSMLCM_VCA_PUBKEY=${OSM_VCA_PUBKEY}" | $WORKDIR_SUDO tee -a $OSM_DOCKER_WORK_DIR/lcm.env + echo "OSMLCM_VCA_PUBKEY=\"${OSM_VCA_PUBKEY}\"" | $WORKDIR_SUDO tee -a $OSM_DOCKER_WORK_DIR/lcm.env else - $WORKDIR_SUDO sed -i "s|OSMLCM_VCA_PUBKEY.*|OSMLCM_VCA_PUBKEY=$OSM_VCA_PUBKEY|g" $OSM_DOCKER_WORK_DIR/lcm.env + $WORKDIR_SUDO sed -i "s|OSMLCM_VCA_PUBKEY.*|OSMLCM_VCA_PUBKEY=\"${OSM_VCA_PUBKEY}\"|g" $OSM_DOCKER_WORK_DIR/lcm.env fi # RO -- 2.25.1