fix bug in subst.entry-index.sh, improve awk scripts

Fixed a bug that was introduced into `bin/subst.entry-index.sh`
where the value `$HTML_SED` was set too early.  Shell functions
variables are evaluated when they are executed, not when they
are first parsed.  So exported variables used by a shell function
need to be set only before the shell function is executed.

Checkpoint `bin/cvt-submission.sh` as part of our testing.
Set file modes of 0444 for when `.auth.json` is formed from `.auth.json.xz`.

The awk scripts under bin put their name (basename) into error
messages to make it easier to debug any error they might raise.

Changed `bin/cvt-submission.sh` VERSION from "2.0.1 2025-05-01"
to "2.0.2 2025-05-17".

Changed `bin/filelist.entry.json.awk` VERSION from "1.0 2024-02-12"
to "1.0.1 2025-05-17".

Changed `bin/manifest.csv.entry.awk` VERSION from "1.0 2024-07-14"
to "1.0.1 2025-05-17".

Changed `bin/manifest.entry.json.awk` VERSION from "1.2.1 2024-11-16"
to "1.2.2 2025-05-17".

Changed `bin/subst.entry-index.sh` VERSION from "2.0.0 2025-03-13"
to "2.0.1 2025-05-17".

Changed `bin/subst.entry-navbar.awk` VERSION from "1.3 2024-08-02"
to "1.3.1 2025-05-17".

Changed `bin/subst.year-navbar.awk` VERSION from "1.2 2024-04-04"
to "1.2.1 2025-05-17".

Update sitemap.

Tested the above via `make update` on macOS.
This commit is contained in:
Landon Curt Noll committed 2025-05-17 23:56:22 -07:00
1 parent 665a46ef4a
commit 0aa790fd88
9 files changed
+136 -114

No files matched your search

+10 -10
View File
@@ -15226,7 +15226,7 @@
</url>
<url>
<loc>https://www.ioccc.org/bin/cvt-submission.sh</loc>
<lastmod>2025-05-16T05:14:36+00:00</lastmod>
<lastmod>2025-05-18T06:47:21+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/bin/entry2csv.sh</loc>
@@ -15234,7 +15234,7 @@
</url>
<url>
<loc>https://www.ioccc.org/bin/filelist.entry.json.awk</loc>
<lastmod>2025-01-10T06:06:40+00:00</lastmod>
<lastmod>2025-05-18T05:32:03+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/bin/find-invalid-json.sh</loc>
@@ -15306,11 +15306,11 @@
</url>
<url>
<loc>https://www.ioccc.org/bin/manifest.csv.entry.awk</loc>
<lastmod>2025-01-10T06:06:40+00:00</lastmod>
<lastmod>2025-05-18T05:32:30+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/bin/manifest.entry.json.awk</loc>
<lastmod>2025-01-10T06:06:40+00:00</lastmod>
<lastmod>2025-05-18T05:32:36+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/bin/md2html.cfg</loc>
@@ -15318,7 +15318,7 @@
</url>
<url>
<loc>https://www.ioccc.org/bin/md2html.sh</loc>
<lastmod>2025-04-16T20:59:19+00:00</lastmod>
<lastmod>2025-05-18T05:13:31+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/bin/new-dir.sh</loc>
@@ -15382,11 +15382,11 @@
</url>
<url>
<loc>https://www.ioccc.org/bin/subst.entry-index.sh</loc>
<lastmod>2025-04-16T20:59:19+00:00</lastmod>
<lastmod>2025-05-18T06:53:55+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/bin/subst.entry-navbar.awk</loc>
<lastmod>2025-01-10T06:06:40+00:00</lastmod>
<lastmod>2025-05-18T05:47:19+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/bin/subst.year-index.sh</loc>
@@ -15394,7 +15394,7 @@
</url>
<url>
<loc>https://www.ioccc.org/bin/subst.year-navbar.awk</loc>
<lastmod>2025-01-10T06:06:40+00:00</lastmod>
<lastmod>2025-05-18T05:37:11+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/bin/tar-entry.sh</loc>
@@ -15486,7 +15486,7 @@
</url>
<url>
<loc>https://www.ioccc.org/Makefile</loc>
<lastmod>2025-04-16T20:59:19+00:00</lastmod>
<lastmod>2025-05-18T06:31:07+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/markdown.html</loc>
@@ -15598,7 +15598,7 @@
</url>
<url>
<loc>https://www.ioccc.org/status.html</loc>
<lastmod>2025-05-17T21:50:11+00:00</lastmod>
<lastmod>2025-05-18T06:51:52+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/status.json</loc>