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

Comparing cfmaps/cfupdate (file contents):
Revision 1.40 by root, Tue Oct 27 03:48:17 2009 UTC vs.
Revision 1.41 by root, Sat Oct 31 17:26:44 2009 UTC

68 for file in *; do 68 for file in *; do
69 if [ -h "$file" ]; then 69 if [ -h "$file" ]; then
70 : # ignore for now 70 : # ignore for now
71 elif [ -f "$file" ]; then 71 elif [ -f "$file" ]; then
72 case "$file" in 72 case "$file" in
73 cfmapidx | *.jpg | *.png | *.html | *.html.gz | *.xhtml | *.xhtml.gz | *.css | *.err | *~ ) 73 cfmapidx | *.jpg | *.png | *.xhtml | *.xhtml.gz | *.css | *.err | *~ )
74 ;; 74 ;;
75 *.map ) 75 *.map )
76 echo >&7 "<li><a href='${file%.map}.xhtml'>${file%.map}</a> [map] <img class='mapthumb' src='${file%.map}.jpg' /></li>" 76 echo >&7 "<li><a href='${file%.map}.xhtml'>${file%.map}</a> [map] <img class='mapthumb' src='${file%.map}.jpg' /></li>"
77 DIR="${dir#/}" 77 DIR="${dir#/}"
78 echo "$DIR$file" >>$BASE/.cfmap2html 78 echo "$DIR$file" >>$BASE/.cfmap2html
134done 134done
135 135
136cfarch2html 136cfarch2html
137 137
138rm -f .index.dat~ 138rm -f .index.dat~
139<.cfmap2html xargs -l100 cfmap2html 139<.cfmap2html xargs -l90 cfmap2html
140<.cfmap2html xargs -l200 cfmapidx -a 140<.cfmap2html xargs -l50 cfmapidx -a
141cfmapidx -a -r # reorganise
141mv .index.dat~ .index.dat 142mv .index.dat~ .index.dat
142 143
143#rm -f .cfmap2html 144#rm -f .cfmap2html
144 145
145chown -R root.root . 146chown -R root.root .

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines