From: garciadeblas Date: Tue, 11 Jun 2019 15:47:14 +0000 (+0200) Subject: full_install_osm.sh: escaping spaces in OSMLCM_VCA_PUBKEY X-Git-Tag: v7.0.0rc1~89^2~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F7646%2F1;p=osm%2Fdevops.git full_install_osm.sh: escaping spaces in OSMLCM_VCA_PUBKEY Change-Id: Iee1ed292fe24e7c68490579670c879c65cb658d4 Signed-off-by: garciadeblas --- 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