Mercurial > public > ssdt-docker
view init.sh @ 605:46a67e7afd98 release/2.23.0 tip
flow: Created branch 'release/2.23.0'.
author | Marc Davis <marc.davis@mcoecn.org> |
---|---|
date | Wed, 18 Sep 2024 20:38:06 -0400 |
parents | 9afc8cb478f6 |
children |
line wrap: on
line source
#!/bin/bash getSsdtHomeDir() { SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done echo $( cd $( dirname $SOURCE) && pwd ) } export SSDT_HOME=$(getSsdtHomeDir) export SSDT_SCRIPTS=${SSDT_HOME}/scripts source "${SSDT_SCRIPTS}/.functions.sh" alias utils='docker run -it -v ${PWD}:/tmp -v $SSDT_HOME:/ssdt --rm docker.ssdt-ohio.org/ssdt-utils' alias send2ssdt='${SSDT_SCRIPTS}/send.sh'