summaryrefslogtreecommitdiff
path: root/opentox-ruby.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-05-18 09:29:53 +0200
committerAndreas Maunz <andreas@maunz.de>2011-05-18 09:29:53 +0200
commitccdba9f5223d82873b1c653ea3f8635f18fefd0e (patch)
treea65f1c14b32e36be889f5724be82bfb9c103d684 /opentox-ruby.sh
parenta198d10ba86c08d84d707704654cf206c42fb040 (diff)
parent6ea88d31eeae8017d13b495f97794243838a2e42 (diff)
Merge branch 'development' into release/2.0.0
Diffstat (limited to 'opentox-ruby.sh')
-rw-r--r--opentox-ruby.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/opentox-ruby.sh b/opentox-ruby.sh
index 08c37ef..5f8cc65 100644
--- a/opentox-ruby.sh
+++ b/opentox-ruby.sh
@@ -67,6 +67,9 @@ fi
mkdir -p "$HOME/.opentox/config" >>$LOG 2>&1
mkdir -p "$HOME/.opentox/log" >>$LOG 2>&1
+$GIT checkout production.yaml >>$LOG 2>&1
+$GIT checkout aa-$OT_INSTALL.yaml >>$LOG 2>&1
+
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"