From 63229a283c786f8862655d365502e5a9224f5266 Mon Sep 17 00:00:00 2001 From: beierl Date: Thu, 30 May 2019 14:42:04 -0400 Subject: [PATCH] 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 --- installers/full_install_osm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.25.1