improve how bin/chk-entry.sh lists files in an entry

This commit is contained in:
Landon Curt Noll committed 2024-03-17 23:18:18 -07:00
1 parent 957c22827c
commit 887deb3119
1 file changed
+2 -2
+2 -2
View File
@@ -81,7 +81,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.1.1 2024-02-23"
export VERSION="1.1.2 2024-02-23"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -443,7 +443,7 @@ fi
#
# We also add ioccc.css and var.mk from the top level.
#
find "$ENTRY_PATH" -type f -print > "$TMP_FILE_LIST"
find "$ENTRY_PATH" -type f ! -iname .DS_Store ! -iname '.*.swp' ! -iname '*~' -print > "$TMP_FILE_LIST"
status="$?"
if [[ $status -ne 0 ]]; then
echo "$0: ERROR: find $ENTRY_PATH -type f -print > $TMP_FILE_LIST failed, error: $status" 1>&2