2f17667d6ee25259d2d438f78f618456d63cbdf3 rhead Tue Sep 27 11:30:14 2011 -0700 Got rid of annoying rm error with a hacky redirect to /dev/null. diff --git src/utils/qa/checkGbdbDiffs.csh src/utils/qa/checkGbdbDiffs.csh index cbe4ae8..fc49ec1 100755 --- src/utils/qa/checkGbdbDiffs.csh +++ src/utils/qa/checkGbdbDiffs.csh @@ -57,19 +57,21 @@ if ( $status ) then set lost=`grep "<" $outpath/gbdbDiff.$todayDate | wc -l` set new=`grep ">" $outpath/gbdbDiff.$todayDate | wc -l` echo echo " $lost files lost" echo " $new new files" echo " see: $urlpath/gbdbDiff.$todayDate" echo else rm -f $outpath/gbdbDiff.$todayDate echo "\n files match: $file1 $file2\n" endif # remove files a year old set lastYear=`getMonthLastYear.csh go | sed "s/-//"` -rm -f $outpath/gbdb*${lastYear}* +# throw away output below because rm complains about no match for +# the globbing character during most of the month +rm -f $outpath/gbdb*${lastYear} >& /dev/null exit