X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=INSTALL.sh;h=3bd354d2d5cb5887c764a139cf1a7c2e8b7db459;hb=5d823712fb300643950dba20667fb9a277145ab9;hp=6437212901e5e84152ffd551183ee86b88564c42;hpb=aff81ded58cbc8ce9678a56b634448b35e2ea804;p=brisk.git diff --git a/INSTALL.sh b/INSTALL.sh index 6437212..3bd354d 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -3,7 +3,7 @@ # # Defaults # -CONFIG_FILE="$HOME/.brosk_install" +CONFIG_FILE="$HOME/.brisk_install" players_n=3 tables_n=44 @@ -201,6 +201,8 @@ if [ $? -ne 0 ]; then exit 1 fi +IFS=' +' # # Installation # @@ -271,18 +273,14 @@ if [ "$web_only" = "FALSE" ]; then fi install -d ${web_path}__ -for i in $(find web -type d | grep -v /CVS | sed 's/^....//g'); do +for i in $(find web -type d | sed 's/^....//g'); do install -d ${web_path}__/$i done -for i in $(find web -name '*.php' -o -name '*.phh' -o -name '*.pho' -o -name '*.css' -o -name '*.js' -o -name '*.mp3' -o -name '*.swf' | grep -v /CVS | sed 's/^....//g'); do - install -m 644 web/$i ${web_path}__/$i +for i in $(find web -name '.htaccess' -o -name '*.php' -o -name '*.phh' -o -name '*.pho' -o -name '*.css' -o -name '*.js' -o -name '*.mp3' -o -name '*.swf' | sed 's/^....//g'); do + install -m 644 "web/$i" "${web_path}__/$i" done -cd web -find . -name '.htaccess' -exec install -m 644 {} ${web_path}__/{} \; -cd - >/dev/null 2>&1 - if [ $players_n -eq 5 ]; then send_time=250 else