Updating dbench in some areas

This commit is contained in:
Mendel Greenberg 2019-02-17 22:23:46 -05:00
parent 98bdef5669
commit dd8da9a869
No known key found for this signature in database
GPG key ID: B26A7D2DF7DC6EF7

2
dbench
View file

@ -24,7 +24,7 @@ elif [[ "$1" == 'setup' ]]; then
docker-compose up -d
fi
elif [[ "$2" == 'hosts' ]]; then
a=$(cd ~/frappe-bench && ls sites/*/site_config.json | grep -o '/.\+/')
a=$(run frappe "ls sites/*/site_config.json | grep -o '/.\+/'") \
a="${a//$'\n'/ }"
a=$(echo "$a" | tr -d / )
result="127.0.0.1 ${a}"