… | |
… | |
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> |
… | |
… | |
97 | gzip -7f index.xhtml |
96 | gzip -7f index.xhtml |
98 | ) |
97 | ) |
99 | done |
98 | done |
100 | |
99 | |
101 | <.cfmap2html xargs cfmap2html |
100 | <.cfmap2html xargs cfmap2html |
|
|
101 | <.cfmap2html xargs cfmapidx -a |
|
|
102 | cfmapidx -c |
|
|
103 | mv .index.dat~ .index.dat |
|
|
104 | |
102 | rm -f .cfmap2html |
105 | #rm -f .cfmap2html |
103 | |
106 | |
104 | cfarch2html |
107 | cfarch2html |
105 | cfworldmap |
108 | cfworldmap |
106 | |
109 | |
107 | chown -R root.root . |
110 | chown -R root.root . |