diff options
-rwxr-xr-x | nginx.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |