summaryrefslogtreecommitdiff
path: root/nginx.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-04-11 09:10:00 +0200
committerAndreas Maunz <andreas@maunz.de>2011-04-11 09:10:00 +0200
commite2da541cecd308ee314267b33476c052f31e3204 (patch)
tree6d800c02dee9810607a4c4ee02399f579f7125f1 /nginx.sh
parent71634bcd25321761d79119971d703a67b0ac5d9f (diff)
Guarding dirs, Linking OB LIB to site_ruby
Diffstat (limited to 'nginx.sh')
-rwxr-xr-xnginx.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx.sh b/nginx.sh
index e7ba87f..36a84df 100755
--- a/nginx.sh
+++ b/nginx.sh
@@ -51,7 +51,7 @@ passenger=`ls -d passenger*`
cd - >>$LOG 2>&1
servername=`hostname`
$GIT checkout nginx.conf>>$LOG 2>&1
-cmd="sed -i -e \"s,PASSENGER,$passenger,;s,SERVERNAME,$servername,;s,RUBY_DEST,$RUBY_DEST,;s,NGINX_DEST,$NGINX_DEST;s,WWW_DEST,$WWW_DEST,\" ./nginx.conf" && run_cmd "$cmd" "Config"
+cmd="sed -i -e \"s,PASSENGER,$passenger,;s,SERVERNAME,$servername,;s,RUBY_DEST,$RUBY_DEST,;s,NGINX_DEST,$NGINX_DEST,;s,WWW_DEST,$WWW_DEST,\" ./nginx.conf" && run_cmd "$cmd" "Config"
cmd="cp ./nginx.conf \"$NGINX_DEST/conf\"" && run_cmd "$cmd" "Copy"
cd "$DIR"