X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=INSTALL.sh;h=3bd354d2d5cb5887c764a139cf1a7c2e8b7db459;hb=e8a617fcfdc0e151ce6b59c7875d1ea0580e2bee;hp=5def641dae0fc6e5d5e0f7805e2c5e7df7b4ff26;hpb=b3865c1e32776904f4e5b383d7d8de028b93d671;p=brisk.git diff --git a/INSTALL.sh b/INSTALL.sh index 5def641..3bd354d 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -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