46264bc4386e8600550c06a8c76c1ecfe98c9d50 brianlee Wed Aug 2 12:06:47 2017 -0700 Correcting script issue in checkGbdbDiffs.csh where old files weren't getting deleted diff --git src/utils/qa/checkGbdbDiffs.csh src/utils/qa/checkGbdbDiffs.csh index fc49ec1..fd868b5 100755 --- src/utils/qa/checkGbdbDiffs.csh +++ src/utils/qa/checkGbdbDiffs.csh @@ -59,19 +59,19 @@ 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/-//"` # 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 +rm -f $outpath/gbdb*${lastYear}* >& /dev/null exit