From b1c002ac55339d7b7ec53214397f841c56cf6488 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 10 Dec 2012 21:08:42 -0600 Subject: Add stat submission to new "pending" directory, along with infrastructure to support pending. --- scripts/genconfig.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/genconfig.sh') 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 -- cgit v1.2.3