X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=INSTALL.sh;h=b021de51cdb43a62d41165f13066fe7d11eb05c7;hb=9a17da4020740578e3a744630fd6be96c8237cab;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