summaryrefslogtreecommitdiff
path: root/opentox-ruby.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-05-17 01:19:19 -0700
committerAndreas Maunz <andreas@maunz.de>2011-05-17 01:19:19 -0700
commit2a9154ab9115f86d5824e5424d164c98624a6545 (patch)
treee77d21dcc5c0ca0a58ae80f2eeaa7cd3cacd06e2 /opentox-ruby.sh
parenta82e9b42f518c2d0e5ac12237fd8a3cc2e5633d7 (diff)
Supporting release branch for backlinking
Diffstat (limited to 'opentox-ruby.sh')
-rw-r--r--[-rwxr-xr-x]opentox-ruby.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentox-ruby.sh b/opentox-ruby.sh
index 5fcff1c..08c37ef 100755..100644
--- a/opentox-ruby.sh
+++ b/opentox-ruby.sh
@@ -70,7 +70,7 @@ mkdir -p "$HOME/.opentox/log" >>$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"
-if [ "$OT_BRANCH" = "development" ]; then
+if [ "$OT_BRANCH" = "development" ] || expr match "$OT_BRANCH" "release"; then
mkdir -p $WWW_DEST/opentox >>$LOG 2>&1
cd $WWW_DEST/opentox >>$LOG 2>&1
rm -rf opentox-ruby >>$LOG 2>&1