From 5897dac31c1dbf45b18c8de0a2cd7a67cb2268b5 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 12 Nov 2012 07:30:12 +0100 Subject: [PATCH] DOCUMENT_ROOT catch fixed --- INSTALL.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.17.1