complete stat fix

The previous commit missed changes related to the LS_TOOL.

Perform `make www` to perform the above and test under macOS.
This commit is contained in:
Landon Curt Noll committed 2024-06-21 22:13:28 -07:00
1 parent ccc53f83e5
commit 3dacba6a44
2 files changed
+15 -5

No files matched your search

+2 -1
View File
@@ -111,11 +111,12 @@ if [[ -z "$JPARSE_TOOL" ]]; then
echo "$0: FATAL: jparse tool is not installed or not in \$PATH" 1>&2
exit 5
fi
#
STAT_TOOL=$(type -P stat)
if [[ -z "$STAT_TOOL" ]]; then
STAT_TOOL="false" # we have no stat tool
fi
#
LS_TOOL=$(type -P ls)
if [[ -z "$LS_TOOL" ]]; then
echo "$0: FATAL: ls tool is not installed or not in \$PATH" 1>&2