From 5a28ef4b06bbbceffd7d779ef4c789e983c53c22 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 21 Jul 2025 16:01:16 -0400 Subject: [PATCH] hvk: hvk-select: sort files alphabetically Signed-off-by: Hugo Villeneuve --- scripts/hvk-select.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hvk-select.sh b/scripts/hvk-select.sh index 82d6e27..2f121bb 100755 --- a/scripts/hvk-select.sh +++ b/scripts/hvk-select.sh @@ -39,7 +39,7 @@ while IFS= read -r -d $'\0' file; do list="${list} ${i} ${f} ${status}" count=$((${count} + 1)) i=$((${i} + 1)) -done < <(find "${hvk_src}" -maxdepth 1 -type f ! -name '*~' -print0) +done < <(find "${hvk_src}" -maxdepth 1 -type f ! -name '*~' -print0 | sort -z) if [ ${count} -eq 0 ]; then echo "Error: no board files found" -- 2.20.1