From 83e6f9074c591d83fff636c908f0805819b56263 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Thu, 10 Jul 2025 17:52:57 -0700 Subject: [PATCH] make sure that globs also specify files only --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 896a617..e086546 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -33,7 +33,7 @@ glob="$(basename "${INPUT_FILES}")" if [ "${glob}" = "**" ]; then all_files="$(find "$dir" -type f |sort)" else - all_files="$(find "$dir" -maxdepth 1 -name "${glob}" |sort)" + all_files="$(find "$dir" -maxdepth 1 -name "${glob}" -type f |sort)" fi i=0 while IFS= read -r f; do