diff options
author | Rob Landley <rob@landley.net> | 2012-12-10 21:08:42 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-12-10 21:08:42 -0600 |
commit | b1c002ac55339d7b7ec53214397f841c56cf6488 (patch) | |
tree | 00afa98de6c82ef6cc5795a7c6ca4424f678a18d /scripts | |
parent | b9bde7b403a8dcf8e8a1417383bb70816a7c1958 (diff) | |
download | toybox-b1c002ac55339d7b7ec53214397f841c56cf6488.tar.gz |
Add stat submission to new "pending" directory, along with infrastructure to support pending.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/genconfig.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh index 4337666c..dedfde4d 100755 --- a/scripts/genconfig.sh +++ b/scripts/genconfig.sh @@ -29,11 +29,13 @@ genconfig() # 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 |