Mercurial > hg > toybox
diff scripts/genconfig.sh @ 747:68d6c1ce7bba
Add stat submission to new "pending" directory, along with infrastructure to support pending.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 10 Dec 2012 21:08:42 -0600 |
parents | f5ef67700a26 |
children | 52e69f6710ca |
line wrap: on
line diff
--- a/scripts/genconfig.sh Mon Dec 10 01:48:02 2012 -0600 +++ b/scripts/genconfig.sh Mon Dec 10 21:08:42 2012 -0600 @@ -29,11 +29,13 @@ # and capitalization in the menu for j in toys/*/README do + DIR="$(dirname "$j")" + + [ $(ls "$DIR" | wc -l) -lt 2 ] && continue + echo "menu \"$(head -n 1 $j)\"" echo - DIR="$(dirname "$j")" - # extract config stanzas from each source file, in alphabetical order for i in $(ls -1 $DIR/*.c) do