Mercurial > public > ssdt-docker
comparison scripts/clearlocks.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 | 85957628f4c0 |
children |
comparison
equal
deleted
inserted
replaced
190:c3587159637f | 191:fea886ba7279 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 source "$( dirname "${BASH_SOURCE[0]}")/.functions.sh" | 2 source "${SSDT_SCRIPTS:-$(dirname "${BASH_SOURCE[0]}")}/.functions.sh" |
3 | |
3 if [ -z "$1" ] | 4 if [ -z "$1" ] |
4 then | 5 then |
5 echo "Usage: `basename $0` {db service}" | 6 echo "Usage: `basename $0` {db service}" |
6 echo " eg: clearlocks.sh usasdb" | 7 echo " eg: clearlocks.sh usasdb" |
7 exit $E_NOARGS | 8 exit $E_NOARGS |