projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e172c28
)
corretta gestione parametro
author
Matteo Nastasi (mop)
<nastasi@alternativeoutput.it>
Sat, 7 Apr 2007 18:51:12 +0000
(18:51 +0000)
committer
Matteo Nastasi (mop)
<nastasi@alternativeoutput.it>
Sat, 7 Apr 2007 18:51:12 +0000
(18:51 +0000)
INSTALL.sh
patch
|
blob
|
history
diff --git
a/INSTALL.sh
b/INSTALL.sh
index
b959272
..
5b88547
100755
(executable)
--- a/
INSTALL.sh
+++ b/
INSTALL.sh
@@
-60,6
+60,7
@@
while [ $# -gt 0 ]; do
-w*) web_path="`get_param "-w" "$1" "$2"`"; sh=$?;;
-k*) ftok_path="`get_param "-k" "$1" "$2"`"; sh=$?;;
-c*) cookie_path="`get_param "-c" "$1" "$2"`"; sh=$?;;
-w*) web_path="`get_param "-w" "$1" "$2"`"; sh=$?;;
-k*) ftok_path="`get_param "-k" "$1" "$2"`"; sh=$?;;
-c*) cookie_path="`get_param "-c" "$1" "$2"`"; sh=$?;;
+ -l*) legal_path="`get_param "-l" "$1" "$2"`"; sh=$?;;
-W) web_only="TRUE";;
-h) usage $0; exit 0;;
*) usage $0; exit 1;;
-W) web_only="TRUE";;
-h) usage $0; exit 0;;
*) usage $0; exit 1;;
@@
-147,7
+148,7
@@
sed -i "s@define *( *FTOK_PATH,[^)]*)@define(FTOK_PATH, \"$ftok_path\")@g" `find
sed -i "s@define *( *BRISK_DEBUG,[^)]*)@define(BRISK_DEBUG, $brisk_debug)@g" ${web_path}/brisk.phh
sed -i "s@define *( *BRISK_DEBUG,[^)]*)@define(BRISK_DEBUG, $brisk_debug)@g" ${web_path}/brisk.phh
-sed -i "s@define *( *LEGAL_PATH,[^)]*)@define(LEGAL_PATH,
$legal_path
)@g" ${web_path}/brisk.phh
+sed -i "s@define *( *LEGAL_PATH,[^)]*)@define(LEGAL_PATH,
\"$legal_path\"
)@g" ${web_path}/brisk.phh
sed -i "s@var \+xhr_rd_cookiepath \+= \+\"[^\"]*\";@var xhr_rd_cookiepath = \"$cookie_path\";@g" ${web_path}/xhr.js
sed -i "s@var \+xhr_rd_cookiepath \+= \+\"[^\"]*\";@var xhr_rd_cookiepath = \"$cookie_path\";@g" ${web_path}/xhr.js