From: Matteo Nastasi (mop) Date: Mon, 12 Nov 2012 06:30:12 +0000 (+0100) Subject: DOCUMENT_ROOT catch fixed X-Git-Tag: v4.0.0 X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;ds=inline;h=5897dac31c1dbf45b18c8de0a2cd7a67cb2268b5;p=brisk.git DOCUMENT_ROOT catch fixed --- diff --git a/INSTALL.sh b/INSTALL.sh index babf415..3195e3a 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -336,7 +336,7 @@ sed -i "s@var \+cookiepath \+= \+\"[^\"]*\";@var cookiepath = \"$prefix_path\";@ sed -i "s@\( \+cookiepath *: *\)\"[^\"]*\" *,@\1 \"$prefix_path\",@g" ${web_path}__/xynt-http-streaming.js -document_root="$(grep DocumentRoot "${apache_conf}" | awk '{ print $2 }')" +document_root="$(grep DocumentRoot "${apache_conf}" | grep -v '^#' | awk '{ print $2 }')" sed -i "s@^\(\$DOCUMENT_ROOT *= *[\"']\)[^\"']*\([\"']\)@\1$document_root\2@g" ${web_path}__/spush/*.ph* if [ -d ${web_path} ]; then