[mod] create target folder if it doesn't exist

This commit is contained in:
Laurent Peuch 2016-01-22 20:14:35 +01:00
parent 565792515d
commit 41f0b8ba08

View file

@ -63,7 +63,10 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "help" ]; then
elif [ "$1" = "create-env" ]; then
#Create a development environment
pwd=`pwd`
[ -e "$2" ] || mkdir -p $2
cd $2
mkdir -p apps
mkdir -p backup
git clone -b unstable https://github.com/Kloadut/SSOwat SSOwat