From 17c7b662a749fca02f27157902e26571ef830f0f Mon Sep 17 00:00:00 2001 From: chabad360 Date: Wed, 1 Aug 2018 21:01:56 -0700 Subject: [PATCH] Found the build issue, and now its gone --- dbench | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dbench b/dbench index 1cb3d8f4..196a1239 100644 --- a/dbench +++ b/dbench @@ -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