From f9070f36adfaf1b5c175768fb7169b9ff79da21d Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 23 Apr 2014 17:23:09 -0500 Subject: Add example directory, move hello.c into it, add skeleton.c to demonstrate more complciated stuff (multiple commands per file, etc), and have genconfig.sh sort backwards so posix is first and example last in menuconfig. --- scripts/genconfig.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh index 4425328d..07fec2c1 100755 --- a/scripts/genconfig.sh +++ b/scripts/genconfig.sh @@ -43,9 +43,8 @@ EOF genconfig() { - # I could query the directory here, but I want to control the order - # and capitalization in the menu - for j in toys/*/README + # Reverse sort puts posix first, examples last. + for j in $(ls toys/*/README | sort -r) do DIR="$(dirname "$j")" -- cgit v1.2.3