Mercurial > public > ssdt-docker
diff scripts/updates-apply.sh @ 191:fea886ba7279
DEP-12: add source for .functions.sh to all scripts using compose
author | smith@nwoca.org |
---|---|
date | Wed, 20 Sep 2017 17:56:23 +0100 |
parents | 334d65dac778 |
children | 6aecbb32c587 |
line wrap: on
line diff
--- a/scripts/updates-apply.sh Wed Sep 20 17:41:25 2017 +0100 +++ b/scripts/updates-apply.sh Wed Sep 20 17:56:23 2017 +0100 @@ -14,6 +14,9 @@ # /ssdt/apply-updates.sh /data/preview # /ssdt/apply-updates.sh /data/preview usps # + +source "${SSDT_SCRIPTS:-$(dirname "${BASH_SOURCE[0]}")}/.functions.sh" + : ${1?"Usage: {parent path} [service]"} SERVICE=${2:-*app}