Fix Shell Command 84/7584/2
authorbeierl <mbeierl@vmware.com>
Thu, 30 May 2019 18:42:04 +0000 (14:42 -0400)
committerbeierl <mbeierl@vmware.com>
Thu, 30 May 2019 18:45:01 +0000 (14:45 -0400)
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 <mbeierl@vmware.com>
installers/full_install_osm.sh

index 3276b14..40cbfda 100755 (executable)
@@ -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"