complete TZ=UTC typo fix

Fixed all cases where `TZ=UTZ` was incorrectly used
and replaced with `TZ=UTC`.

Changed `bin/gen-sitemap.sh` VERSION from "2.0.2 2025-07-30"
to "2.0.3 2025-08-23".

Changed `bin/tar-entry.sh` VERSION from "2.0.0 2025-03-13"
to "2.0.1 2025-08-23".

Changed `bin/tar-year.sh` VERSION from "2.0.0 2025-03-13"
to "2.0.1 2025-08-23".
This commit is contained in:
Landon Curt Noll committed 2025-08-23 16:39:00 -07:00
1 parent 618a8545cf
commit f39c98749b
4 files changed
+12 -12

No files matched your search

+3 -3
View File
@@ -214,7 +214,7 @@ function output_modtime
status_codes=("${PIPESTATUS[@]}")
if [[ ${status_codes[*]} =~ [1-9] ]]; then
echo "$0: ERROR: in output_modtime:" \
"TZ=UTZ $LS_TOOL -D '%FT%T+00:00' -ld $FILENAME | awk .. failed," \
"TZ=UTC $LS_TOOL -D '%FT%T+00:00' -ld $FILENAME | awk .. failed," \
"error codes: ${status_codes[*]}" 1>&2
exit 1
fi
@@ -781,12 +781,12 @@ else
# Try ls -D:
#
TZ=UTZ "$LS_TOOL" -D '%FT%T+00:00' -ld "$TOP_FILE" > /dev/null 2>&1
TZ=UTC "$LS_TOOL" -D '%FT%T+00:00' -ld "$TOP_FILE" > /dev/null 2>&1
status="$?"
if [[ $status -eq 0 ]]; then
MODTIME_METHOD="ls_D"
if [[ $V_FLAG -ge 5 ]]; then
echo "$0: debug[5]: TZ=UTZ $LS_TOOL -D '%FT%T+00:00' -ld works, MODTIME_METHOD: $MODTIME_METHOD" 1>&2
echo "$0: debug[5]: TZ=UTC $LS_TOOL -D '%FT%T+00:00' -ld works, MODTIME_METHOD: $MODTIME_METHOD" 1>&2
fi
else