comparison pilot/training.sh @ 214:6f97f65c6cb6

DEP-12: update project name to always use default
author smith@nwoca.org
date Fri, 06 Oct 2017 21:36:28 +0100
parents 4de5e1a4637c
children
comparison
equal deleted inserted replaced
213:7e24501da32b 214:6f97f65c6cb6
49 49
50 echo "Preparing training project '$(basename $PWD)' with default USxS configuration" 50 echo "Preparing training project '$(basename $PWD)' with default USxS configuration"
51 51
52 touch .env 52 touch .env
53 source .env 53 source .env
54
55 project_name=${default_name}
54 56
55 if [ "$COMPOSE_PROJECT_NAME" == "" ] 57 if [ "$COMPOSE_PROJECT_NAME" == "" ]
56 then 58 then
57 echo "COMPOSE_PROJECT_NAME=${project_name}" >> .env 59 echo "COMPOSE_PROJECT_NAME=${project_name}" >> .env
58 source .env 60 source .env