summaryrefslogtreecommitdiff
path: root/opentox-ruby.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-04-07 16:31:38 +0200
committerAndreas Maunz <andreas@maunz.de>2011-04-07 16:31:38 +0200
commit1e9174342a0bae9b7e00c6d81a8271934a90baf7 (patch)
treec3ba54f4e1e7b2722075c354c170c3f87d75556b /opentox-ruby.sh
parent1e43bd895e9e46bd1570cd80840f6f8cf18761ed (diff)
Fixed replacing WWW_DEST
Diffstat (limited to 'opentox-ruby.sh')
-rwxr-xr-xopentox-ruby.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentox-ruby.sh b/opentox-ruby.sh
index b27ef85..692cc61 100755
--- a/opentox-ruby.sh
+++ b/opentox-ruby.sh
@@ -67,8 +67,8 @@ fi
mkdir -p "$HOME/.opentox/config" >>$LOG 2>&1
mkdir -p "$HOME/.opentox/log" >>$LOG 2>&1
-cmd="sed -e \"s/SERVERNAME/$servername/;s/ESCAPEDSERVER/$escapedserver/;s/LOGGER/$logger/;s/AA/$aa/\" production.yaml > $HOME/.opentox/config/production.yaml" && run_cmd "$cmd" "Config 1"
-cmd="sed -e \"s/SERVERNAME/$servername/;s/ESCAPEDSERVER/$escapedserver/;s/LOGGER/$logger/;s/AA/$aa/\" aa-local.yaml >> $HOME/.opentox/config/production.yaml" && run_cmd "$cmd" "Config 2"
+cmd="sed -e \"s,SERVERNAME,$servername,;s,ESCAPEDSERVER,$escapedserver,;s,LOGGER,$logger,;s,AA,$aa,;s,WWW_DEST,$WWW_DEST,\" production.yaml > $HOME/.opentox/config/production.yaml" && run_cmd "$cmd" "Config 1"
+cmd="sed -e \"s,SERVERNAME,$servername,;s,ESCAPEDSERVER,$escapedserver,;s,LOGGER,$logger,;s,AA,$aa,;s,WWW_DEST,$WWW_DEST,\" aa-$OT_INSTALL.yaml >> $HOME/.opentox/config/production.yaml" && run_cmd "$cmd" "Config 1"
if [ "$OT_BRANCH" = "development" ]; then
mkdir -p $WWW_DEST/opentox >>$LOG 2>&1