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>
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"