From aad458fd8da01e0bfa0cb226de0169fd2accb480 Mon Sep 17 00:00:00 2001 From: David Landa Marban Date: Mon, 17 Aug 2026 13:34:37 +0200 Subject: [PATCH] Small POSIX fix --- tests/scripts/docs_check_outputs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scripts/docs_check_outputs.sh b/tests/scripts/docs_check_outputs.sh index 28426f4..0ae2574 100644 --- a/tests/scripts/docs_check_outputs.sh +++ b/tests/scripts/docs_check_outputs.sh @@ -8,10 +8,10 @@ missing=0 rm -f "$missing_file" -for f in $files; do +printf '%s\n' "$files" | while IFS= read -r f; do + [ -z "$f" ] && continue if [ ! -f "$f" ]; then echo "$f" >> "$missing_file" - missing=$((missing + 1)) fi done