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

Comparing cfmaps/cfupdate (file contents):
Revision 1.9 by root, Sun Nov 20 05:02:58 2005 UTC vs.
Revision 1.11 by root, Sun Nov 20 20:37:13 2005 UTC

15# 15#
16# You should have received a copy of the GNU General Public License 16# You should have received a copy of the GNU General Public License
17# along with gvpe; if not, write to the Free Software 17# along with gvpe; if not, write to the Free Software
18# Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18# Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 19
20VERSION=1.05 20VERSION=1.06
21 21
22umask 022 22umask 022
23 23
24SRC=/root/src/crossfire 24SRC=/root/src/crossfire
25PATH="$SRC:$PATH" 25PATH="$SRC:$PATH"
30 30
31cvs -Q -z3 update -AdP | grep -v ^\\? 31cvs -Q -z3 update -AdP | grep -v ^\\?
32 32
33rm -f .cfmap2html 33rm -f .cfmap2html
34 34
35chmod 644 "$SRC/common.css" 35chmod 644 "$SRC"/*.css
36cp "$SRC/common.css" . 36cp "$SRC"/*.css .
37 37
38find . -name CVS -prune -o -type d -printf "%P/\n" | while read dir; do 38find . -name CVS -prune -o -type d -printf "%P/\n" | while read dir; do
39 ( 39 (
40 export dir 40 export dir
41 cd "./$dir" || exit 68 41 cd "./$dir" || exit 68
42 { 42 {
43 cat >&7 <<-EOF 43 cat >&7 <<-EOF
44 <?xml version='1.0' encoding='utf-8'?> 44 <?xml version='1.0' encoding='utf-8'?>
45 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
46 <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'> 45 <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
47 <head> 46 <head>
48 <title>Crossfire Maps Directory "$dir"</title> 47 <title>Crossfire Maps Directory "$dir"</title>
49 <link rel='stylesheet' type='text/css' media='all' href='/common.css'/> 48 <link rel='stylesheet' type='text/css' media='all' href='/common.css'/>
50 </head> 49 </head>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines