summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-05-17 01:20:07 -0700
committerAndreas Maunz <andreas@maunz.de>2011-05-17 01:20:07 -0700
commita198d10ba86c08d84d707704654cf206c42fb040 (patch)
treee77d21dcc5c0ca0a58ae80f2eeaa7cd3cacd06e2
parenta82e9b42f518c2d0e5ac12237fd8a3cc2e5633d7 (diff)
Supporting backlinking for release branches.
-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