ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cfmaps/cfupdate
(Generate patch)

Comparing cfmaps/cfupdate (file contents):
Revision 1.4 by root, Fri Nov 18 23:33:09 2005 UTC vs.
Revision 1.5 by root, Fri Nov 18 23:43:12 2005 UTC

6BASE=/var/www/cfmaps.schmorp.de 6BASE=/var/www/cfmaps.schmorp.de
7export CROSSFIRE_LIBDIR=$BASE/lib 7export CROSSFIRE_LIBDIR=$BASE/lib
8 8
9cd "$BASE" || exit 69 9cd "$BASE" || exit 69
10 10
11VERSION=1.0 11VERSION=1.01
12 12
13cvs -Q -z3 update -AdP | grep -v ^\\? 13cvs -Q -z3 update -AdP | grep -v ^\\?
14 14
15rm -f .cfmap2html 15rm -f .cfmap2html
16 16
17find . -name CVS -prune -o -type d -printf "%P/\n" | while read dir; do 17find . -name CVS -prune -o -type d -printf "%P/\n" | while read dir; do
18 ( 18 (
19 export dir 19 export dir
20 cd "./$dir" || exit 68 20 cd "./$dir" || exit 68
21 { 21 {
22 echo "<html><head><title>Crossfire Maps: $dir</title></head><body><h1>Crossfire Maps $dir</h1><h2>This Directory</h2><ul>" >&7 22 echo "<html><head><title>Crossfire Maps Directory \"$dir\"</title></head><body><h1>Crossfire Maps Directory \"$dir\"</h1><h2>This Directory</h2><ul>" >&7
23 echo "<li><a href='..'>&lt;parent&gt;</a></li>" >&7 23 echo "<li><a href='..'>&lt;parent&gt;</a></li>" >&7
24 for file in *; do 24 for file in *; do
25 if [ -f "$file" ]; then 25 if [ -f "$file" ]; then
26 case "$file" in 26 case "$file" in
27 *.pst | *.jpg | *.png | *.html | *.html.gz | *~ ) 27 *.pst | *.jpg | *.png | *.html | *.html.gz | *~ )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines