From 618a8545cfd35f8971cb6d4f53f53b14708dac46 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sat, 23 Aug 2025 16:29:04 -0700 Subject: [PATCH] fix TZ type in bin/gen-status.sh Changed `bin/gen-status.sh` VERSION from "2.0.0 2025-03-13" to "2.0.1 2025-08-23". Correctly set TZ=UTC. --- bin/gen-status.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/gen-status.sh b/bin/gen-status.sh index 187c2e404..306a336f4 100755 --- a/bin/gen-status.sh +++ b/bin/gen-status.sh @@ -104,7 +104,7 @@ export LC_ALL="C" # set variables referenced in the usage message # -export VERSION="2.0.0 2025-03-13" +export VERSION="2.0.1 2025-08-23" NAME=$(basename "$0") export NAME export V_FLAG=0 @@ -210,7 +210,7 @@ function output_modtime # SC2012 (info): Use find instead of ls to better handle non-alphanumeric filenames. # https://www.shellcheck.net/wiki/SC2012 # shellcheck disable=SC2012 - TZ=UTZ "$LS_TOOL" -D '%FT%T+00:00' -ld "$FILENAME" | awk '{print $6;}' + TZ=UTC "$LS_TOOL" -D '%FT%T+00:00' -ld "$FILENAME" | awk '{print $6;}' status_codes=("${PIPESTATUS[@]}") if [[ ${status_codes[*]} =~ [1-9] ]]; then echo "$0: ERROR: in output_modtime:" \