Skip to content
Snippets Groups Projects
Commit 63229a28 authored by beierl's avatar beierl
Browse files

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: default avatarbeierl <mbeierl@vmware.com>
parent 3edf018e
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment