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

Comparing cfmaps/cfupdate (file contents):
Revision 1.21 by root, Wed Feb 14 02:33:47 2007 UTC vs.
Revision 1.23 by root, Wed Feb 14 02:51:42 2007 UTC

72 case "$file" in 72 case "$file" in
73 cfmapidx | *.pst | *.jpg | *.png | *.html | *.html.gz | *.xhtml | *.xhtml.gz | *.css | *~ ) 73 cfmapidx | *.pst | *.jpg | *.png | *.html | *.html.gz | *.xhtml | *.xhtml.gz | *.css | *~ )
74 ;; 74 ;;
75 * ) 75 * )
76 if head -5 "$file" | grep -q "^arch map"; then 76 if head -5 "$file" | grep -q "^arch map"; then
77 echo >&7 "<li><a href='$file.xhtml'>$file</a> [map]</li>" 77 echo >&7 "<li><a href='${file%.map}.xhtml'>${file%.map}</a> [map]</li>"
78 DIR="${dir#/}" 78 DIR="${dir#/}"
79 echo "$DIR$file" >>$BASE/.cfmap2html 79 echo "$DIR$file" >>$BASE/.cfmap2html
80 else 80 else
81 echo >&7 "<li><a href='$file'>$file</a> [file]</li>" 81 echo >&7 "<li><a href='$file'>$file</a> [file]</li>"
82 fi 82 fi
118 fi 118 fi
119 #gzip -7f index.xhtml 119 #gzip -7f index.xhtml
120 ) 120 )
121done 121done
122 122
123exit
124
125<.cfmap2html xargs cfmap2html 123<.cfmap2html xargs $SRC/cfmap2html
126<.cfmap2html xargs cfmapidx -a 124<.cfmap2html xargs $SRC/cfmapidx -a
127mv .index.dat~ .index.dat 125mv .index.dat~ .index.dat
128 126
129#rm -f .cfmap2html 127#rm -f .cfmap2html
130 128
131cfarch2html 129$SRC/cfarch2html
132cfworldmap world 130$SRC/cfworldmap world
133cfworldmap world-overlay 131$SRC/cfworldmap world-overlay
134 132
135chown -R root.root . 133chown -R root.root .
136chmod -R u=rwX,go=rX . 134chmod -R u=rwX,go=rX .
137 135

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines