From: beierl Date: Thu, 30 May 2019 18:42:04 +0000 (-0400) Subject: Fix Shell Command X-Git-Tag: v6.0.0~3^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F84%2F7584%2F2;p=osm%2Fdevops.git Fix Shell Command Replaces 'source' with '.' as the command 'source' is not valid sh syntax. It is only valid in bash, but the sg command invokes sh, not bash. BUG 717 Change-Id: I76f58120cff78420a751308c283798ad57b83df8 Signed-off-by: beierl --- diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 3276b143..40cbfdad 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -905,7 +905,7 @@ function deploy_lightweight() { echo "export KEYSTONEDB_TAG=${KEYSTONEDB_TAG}" | $WORKDIR_SUDO tee --append $OSM_DOCKER_WORK_DIR/osm_ports.sh pushd $OSM_DOCKER_WORK_DIR - sg docker -c "source ./osm_ports.sh; docker stack deploy -c $OSM_DOCKER_WORK_DIR/docker-compose.yaml $OSM_STACK_NAME" + sg docker -c ". ./osm_ports.sh; docker stack deploy -c $OSM_DOCKER_WORK_DIR/docker-compose.yaml $OSM_STACK_NAME" popd echo "Finished deployment of lightweight build"