sort order is different based on chosen locale and also default shell
being bash or dash

Upstream-Status: Pending
Signed-off-by: Khem Raj <[email protected]>
---
 scripts/gen_build_files.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gen_build_files.sh b/scripts/gen_build_files.sh
index 92de681ac..283e03837 100755
--- a/scripts/gen_build_files.sh
+++ b/scripts/gen_build_files.sh
@@ -67,7 +67,7 @@ generate()
 }
 
 # (Re)generate include/applets.h
-sed -n 's@^//applet:@@p' "$srctree"/*/*.c "$srctree"/*/*/*.c \
+LC_ALL= LC_COLLATE=C sed -n 's@^//applet:@@p' "$srctree"/*/*.c 
"$srctree"/*/*/*.c \
 | generate \
        "$srctree/include/applets.src.h" \
        "include/applets.h" \
-- 
2.31.1

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to