From 122dfa13a2c12e1fdfe3c5a8503d420d11f2024d Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 1 Oct 2025 21:09:41 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB=20Compatible?= =?UTF-8?q?=20sorted=20'find'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buildroot/bin/build_all_examples | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildroot/bin/build_all_examples b/buildroot/bin/build_all_examples index 12ece299d7..9b221f7d43 100755 --- a/buildroot/bin/build_all_examples +++ b/buildroot/bin/build_all_examples @@ -158,7 +158,9 @@ shopt -s nullglob export PAUSE=1 # Get a list of all folders that contain a file matching "Configuration*.h" -find -s "$CBASE"/config/examples -type d -name 'Configuration.h' -o -name 'Configuration_adv.h' -print0 | while IFS= read -r -d $'\0' CONF; do +find "$CBASE"/config/examples -type d -name 'Configuration.h' -o -name 'Configuration_adv.h' -print0 \ + | LC_ALL=C sort -fz \ + | while IFS= read -r -d $'\0' CONF; do # Remove the file name and slash from the end of the path CONF=${CONF%/*}