Mercurial > public > ssdt-docker
changeset 189:1a8087653f2a
DEP-12: add docker-compse path if compose not found
author | smith@nwoca.org |
---|---|
date | Wed, 20 Sep 2017 17:35:04 +0100 |
parents | 2f5f41d237e7 |
children | c3587159637f |
files | scripts/.functions.sh |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/.functions.sh Wed Sep 20 17:01:09 2017 +0100 +++ b/scripts/.functions.sh Wed Sep 20 17:35:04 2017 +0100 @@ -11,6 +11,11 @@ export SSDT_HOME=$(dirname $SSDT_SCRIPTS) fi +if [ "$(which docker-compose)" == ""] +then + PATH="${PATH}:/usr/local/bin" +fi + export SSDT_DOCKER_VERSION=$(docker version --format '{{.Server.Version}}') # deletes psql data from specified service