renamed xhr.js to http_streaming.js and move hbit to externa heartbit.js file
[brisk.git] / INSTALL.sh
index 3bd354d..e4321a1 100755 (executable)
@@ -8,15 +8,15 @@ CONFIG_FILE="$HOME/.brisk_install"
 players_n=3
 tables_n=44
 tables_auth_n=12
-brisk_auth_conf="brosk_auth.conf.pho"
+brisk_auth_conf="brisk_auth.conf.pho"
 brisk_debug="0x0400"
 # brisk_debug="0xffff"
-web_path="/home/nastasi/web/brosk"
-ftok_path="/home/nastasi/brisk-priv/ftok/brosk"
-proxy_path="/home/nastasi/brisk-priv/proxy/brosk"
-legal_path="/home/nastasi/brisk-priv/brosk"
-cookie_path="/brosk/"
-brisk_conf="brosk.conf.pho"
+web_path="/home/nastasi/web/brisk"
+ftok_path="/home/nastasi/brisk-priv/ftok/brisk"
+proxy_path="/home/nastasi/brisk-priv/proxy/brisk"
+legal_path="/home/nastasi/brisk-priv/brisk"
+cookie_path="/brisk/"
+brisk_conf="brisk.conf.pho"
 web_only="FALSE"
 
 
@@ -313,7 +313,7 @@ sed -i "s@define *( *BRISK_CONF,[^)]*)@define(BRISK_CONF, \"$brisk_conf\")@g" ${
 
 sed -i "s@define *( *BRISK_AUTH_CONF,[^)]*)@define(BRISK_AUTH_CONF, \"$brisk_auth_conf\")@g" ${web_path}__/Obj/auth.phh
 
-sed -i "s@var \+xhr_rd_cookiepath \+= \+\"[^\"]*\";@var xhr_rd_cookiepath = \"$cookie_path\";@g" ${web_path}__/xhr.js
+sed -i "s@\( \+xhr_rd_cookiepath *: *\)\"[^\"]*\" *,@\1 \"$cookie_path\",@g" ${web_path}__/http_streaming.js
 sed -i "s@var \+cookiepath \+= \+\"[^\"]*\";@var cookiepath = \"$cookie_path\";@g" ${web_path}__/commons.js
 
 if [ -d ${web_path} ]; then