- `for dir in $b/contrib/*; do
- if test -d $dir && test -f $dir/test-passed; then
- find $dir -not -type d -not -name '.cvsignore' -not -path '*/CVS*' -print
+ `for contrib in $(cd $b/contrib && echo *); do
+ src_dir=$b/contrib/$contrib
+ if test -d $src_dir && test -f $obj_dir/test-passed.test-report; then
+ find $src_dir -name CVS -type d -prune -o \! -type d \! -name '.cvsignore' -print