From 1e43bd895e9e46bd1570cd80840f6f8cf18761ed Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Thu, 7 Apr 2011 15:45:59 +0200 Subject: Fixed replacing WWW_DEST --- nginx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nginx.sh') diff --git a/nginx.sh b/nginx.sh index b312e5e..e7ba87f 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,\" ./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" -- cgit v1.2.3