X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=INSTALL.sh;h=b021de51cdb43a62d41165f13066fe7d11eb05c7;hb=5c967dabf5b7bef5b0471e61c9ada4a51d887cb6;hp=a44e319d521fdd81936c939e0143458da8bc20df;hpb=f8ae81cef2871be97c5466319efbafb23599baac;p=brisk.git diff --git a/INSTALL.sh b/INSTALL.sh index a44e319..b021de5 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -367,7 +367,7 @@ sed -i "s@var \+cookiepath \+= \+\"[^\"]*\";@var cookiepath = \"$prefix_path\";@ sed -i "s@\( \+cookiepath *: *\)\"[^\"]*\" *,@\1 \"$prefix_path\",@g" ${web_path}__/xynt-streaming.js -document_root="$(grep DocumentRoot "${apache_conf}" | grep -v '^#' | 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