comparison 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
comparison
equal deleted inserted replaced
190:c3587159637f 191:fea886ba7279
12 # 12 #
13 # examples: 13 # examples:
14 # /ssdt/apply-updates.sh /data/preview 14 # /ssdt/apply-updates.sh /data/preview
15 # /ssdt/apply-updates.sh /data/preview usps 15 # /ssdt/apply-updates.sh /data/preview usps
16 # 16 #
17
18 source "${SSDT_SCRIPTS:-$(dirname "${BASH_SOURCE[0]}")}/.functions.sh"
19
17 : ${1?"Usage: {parent path} [service]"} 20 : ${1?"Usage: {parent path} [service]"}
18 SERVICE=${2:-*app} 21 SERVICE=${2:-*app}
19 22
20 ORIGINALDIR=$PWD 23 ORIGINALDIR=$PWD
21 PARENTDIR=$1 24 PARENTDIR=$1