From d26cec2a53bebb92c0c11d0124ff6743e839c118 Mon Sep 17 00:00:00 2001 From: NeilClack Date: Sun, 23 Aug 2026 15:55:05 -0500 Subject: [PATCH] fix: broken whitespace guard in archive-images.sh The case bracket expression [\ space\'\"] listed the letters s,p,a,c,e as a character set instead of matching whitespace, rejecting every normal path. Use the POSIX [[:space:]] class. --- tools/archive-images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/archive-images.sh b/tools/archive-images.sh index 3f6d53c..cad0525 100755 --- a/tools/archive-images.sh +++ b/tools/archive-images.sh @@ -20,7 +20,7 @@ patterns=("$@") for v in "$images_dir" "$archive_dir" "${patterns[@]}"; do case $v in - *[\ space\'\"]*) die "unsafe argument (whitespace/quotes): $v" ;; + *[[:space:]\'\"]*) die "unsafe argument (whitespace/quotes): $v" ;; esac done