decided to dump reseting args

This commit is contained in:
chabad360 2018-08-01 21:13:17 -07:00
parent 17c7b662a7
commit ee2c9c3a97

4
dbench
View file

@ -33,8 +33,8 @@ if [[ $# -eq 0 ]]; then
elif [ $1 == '--init' ]; then
site=$2
if ! $2; then set -- "${@:1}" "site1.local" && site=$2; fi
if ! $3; then set -- "${@:1:2}" "site1.local" && site=$3; fi
if ! $2; then site="site1.local"; fi
if ! $3; then site="site1.local"; fi
echo "$site"
frappe_installer $site
if [ "$2" == '-e' ]; then