Mercurial > public > ssdt-docker
comparison init.sh @ 144:249ec634da33
DEP-12: rmove debugging echos
author | smith@nwoca.org |
---|---|
date | Mon, 10 Jul 2017 18:02:19 +0100 |
parents | c029be781d13 |
children | 9afc8cb478f6 |
comparison
equal
deleted
inserted
replaced
143:c029be781d13 | 144:249ec634da33 |
---|---|
3 SOURCE="${BASH_SOURCE[0]}" | 3 SOURCE="${BASH_SOURCE[0]}" |
4 while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done | 4 while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done |
5 echo $( cd $( dirname $SOURCE) && pwd ) | 5 echo $( cd $( dirname $SOURCE) && pwd ) |
6 } | 6 } |
7 | 7 |
8 echo ${BASH_SOURCE[*]} | |
9 export SSDT_HOME=$(getSsdtHomeDir) | 8 export SSDT_HOME=$(getSsdtHomeDir) |
10 export SSDT_SCRIPTS=${SSDT_HOME}/scripts | 9 export SSDT_SCRIPTS=${SSDT_HOME}/scripts |
11 echo "ssdt_home $SSDT_HOME ($SSDT_SCRIPTS)" | |
12 source "${SSDT_SCRIPTS}/.functions.sh" | 10 source "${SSDT_SCRIPTS}/.functions.sh" |
13 alias utils='docker run -it -v ${PWD}:/tmp -v $SSDT_HOME:/ssdt --rm docker.ssdt.io/ssdt-utils' | 11 alias utils='docker run -it -v ${PWD}:/tmp -v $SSDT_HOME:/ssdt --rm docker.ssdt.io/ssdt-utils' |
14 alias send2ssdt='${SSDT_SCRIPTS}/send.sh' | 12 alias send2ssdt='${SSDT_SCRIPTS}/send.sh' |