diff options
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")" |