diff options
author | Rob Landley <rob@landley.net> | 2014-04-23 17:23:09 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-04-23 17:23:09 -0500 |
commit | f9070f36adfaf1b5c175768fb7169b9ff79da21d (patch) | |
tree | 84df08b9ceaf1b6ac1d31a26cf4f06b199ffca9f /scripts | |
parent | 5fe77cf9ed586a84c5ccd289154d0b543d2b4949 (diff) | |
download | toybox-f9070f36adfaf1b5c175768fb7169b9ff79da21d.tar.gz |
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.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/genconfig.sh | 5 |
1 files changed, 2 insertions, 3 deletions
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")" |