--- mitgcm.org/front_content/make_summary 2008/03/17 21:35:15 1.37 +++ mitgcm.org/front_content/make_summary 2008/04/20 19:55:18 1.38 @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.37 2008/03/17 21:35:15 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.38 2008/04/20 19:55:18 jmc Exp $ # # The purpose of this script is to create HTML summaries of the # directories produced by the "parse_emails" script. @@ -272,7 +272,7 @@ if test -r $dir/summary.txt ; then grep '^[YN] [YN] [YN] [YN]' $dir/summary.txt > ./all_tests 2>/dev/null t_tot=`cat ./all_tests | wc -l | sed -e 's| ||g'` - t_pass=`grep 'pass ' ./all_tests | wc -l | sed -e 's| ||g'` + t_pass=`grep '^Y Y Y Y' ./all_tests | grep 'pass ' | wc -l | sed -e 's| ||g'` fi rm -f ./all_tests # echo "${dir##*/} : $t_pass out of $t_tot"