summaryrefslogtreecommitdiff
path: root/opentox-ruby.sh
diff options
context:
space:
mode:
Diffstat (limited to 'opentox-ruby.sh')
-rw-r--r--opentox-ruby.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentox-ruby.sh b/opentox-ruby.sh
index 8d31ccd..595ee36 100644
--- a/opentox-ruby.sh
+++ b/opentox-ruby.sh
@@ -9,7 +9,6 @@ gem install builder # not included by spreadsheet gem
dir=`pwd`
# create config file
-password=`pwgen 8 1`
servername=`hostname`.`dnsdomainname`
escapedservername=`echo $servername|sed 's/\/\\\//'`
if [ $branch = "development" ]
@@ -28,6 +27,7 @@ fi
mkdir -p $HOME/.opentox/config
mkdir -p $HOME/.opentox/log
+#sed -e "s/SERVERNAME/$servername/;s/LOGGER/$logger/;s/AA/$aa/" production.yaml > $HOME/.opentox/config/production.yaml
sed -e "s/PASSWORD/$password/;s/SERVERNAME/$servername/;s/ESCAPEDSERVERNAME/$escapedservername/;s/LOGGER/$logger/;s/AA/$aa/" production.yaml > $HOME/.opentox/config/production.yaml
sed -e "s/PASSWORD/$password/;s/SERVERNAME/$servername/;s/ESCAPEDSERVERNAME/$escapedservername/;s/LOGGER/$logger/;s/AA/$aa/" aa-$type.yaml >> $HOME/.opentox/config/production.yaml