summaryrefslogtreecommitdiff
path: root/opentox-ruby.sh
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-03-08 13:50:07 +0100
committerChristoph Helma <helma@in-silico.ch>2011-03-08 13:50:07 +0100
commitdbe3056c8af7be9b623b020055e4892ca44954b2 (patch)
tree8ad17db4525670cf23cb7a0a5eec1d910062fe6f /opentox-ruby.sh
parent152526cb79878eee9c7e48189141c5085503f6a5 (diff)
typo in instalation type fixed
Diffstat (limited to 'opentox-ruby.sh')
-rw-r--r--opentox-ruby.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentox-ruby.sh b/opentox-ruby.sh
index 595ee36..98b04f1 100644
--- a/opentox-ruby.sh
+++ b/opentox-ruby.sh
@@ -18,7 +18,7 @@ else
logger=""
fi
-if [ $type = "server" ]
+if [ $install = "server" ]
then
aa="https:\/\/opensso.in-silico.ch"
else
@@ -29,7 +29,7 @@ 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
+sed -e "s/PASSWORD/$password/;s/SERVERNAME/$servername/;s/ESCAPEDSERVERNAME/$escapedservername/;s/LOGGER/$logger/;s/AA/$aa/" aa-$install.yaml >> $HOME/.opentox/config/production.yaml
# checkout development version and link lib to opentox-ruby gem
if [ $branch = "development" ]