mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
[mod] create target folder if it doesn't exist
This commit is contained in:
parent
565792515d
commit
41f0b8ba08
1 changed files with 3 additions and 0 deletions
3
ynh-dev
3
ynh-dev
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue