Mercurial > public > ssdt-docker
comparison utils/docker-entrypoint.sh @ 74:541766977a11
add script to connect to telnet console of usxsapp
author | smith@nwoca.org |
---|---|
date | Wed, 23 Mar 2016 16:37:35 +0100 |
parents | 334d65dac778 |
children | b997ad087ac1 |
comparison
equal
deleted
inserted
replaced
73:d2c44193fbaa | 74:541766977a11 |
---|---|
2 set -e | 2 set -e |
3 | 3 |
4 if [ "$1" = 'update' ]; then | 4 if [ "$1" = 'update' ]; then |
5 cd $SSDT_HOME | 5 cd $SSDT_HOME |
6 if [ ! -d ".hg" ]; then | 6 if [ ! -d ".hg" ]; then |
7 echo "cloning repository $SSDT_DOCKER to $SSDT_HOME" | 7 echo "cloning repository $SSDT_DOCKER to $SSDT_HOME" |
8 mkdir -p $SSDT_HOME | 8 mkdir -p $SSDT_HOME |
9 hg init | 9 hg init |
10 fi | 10 fi |
11 echo "pulling updates" | 11 echo "pulling updates" |
12 hg pull -y $SSDT_DOCKER | 12 hg pull -y $SSDT_DOCKER |
13 hg revert -a | 13 hg revert -a |