Found the build issue, and now its gone

This commit is contained in:
chabad360 2018-08-01 21:01:56 -07:00
parent 37765cfc12
commit 17c7b662a7

3
dbench
View file

@ -28,11 +28,12 @@ function frappe_installer {
}
if [[ $# -eq 0 ]]; then
echo "$@"
docker exec -it frappe bash 'bench $@'
elif [ $1 == '--init' ]; then
site=$2
if ! $2; then set -- "${@:1}" "site1.local"; fi
if ! $2; then set -- "${@:1}" "site1.local" && site=$2; fi
if ! $3; then set -- "${@:1:2}" "site1.local" && site=$3; fi
echo "$site"
frappe_installer $site