e71fc9753db2aa4e17edd269c0145449814dc93c brianlee Tue Jun 4 09:38:10 2019 -0700 Adding a slash to a find command in /gbdb/ that was impacted by new hgwbeta. diff --git src/utils/qa/checkGbdbDiffs.csh src/utils/qa/checkGbdbDiffs.csh index db3f2ca..9ad122b 100755 --- src/utils/qa/checkGbdbDiffs.csh +++ src/utils/qa/checkGbdbDiffs.csh @@ -34,31 +34,31 @@ echo "\n${0}:" $0 exit 0 endif set todayDate=`date +%Y%m%d` set outpath="/usr/local/apache/htdocs-genecats/qa/test-results/gbdb" set urlpath="http://genecats.soe.ucsc.edu/qa/test-results/gbdb" # get the two files to compare or create if none for today if ($mode == "override" ) then rm -f $outpath/gbdb.all.$todayDate endif if (! -e $outpath/gbdb.all.$todayDate) then - ssh hgwbeta find /gbdb -type f -print | sort > $outpath/gbdb.all.$todayDate + ssh hgwbeta find /gbdb/ -type f -print | sort > $outpath/gbdb.all.$todayDate endif set twoFiles=`ls -ltr $outpath | grep all | tail -2 | awk '{print $NF}'` set file1=`echo $twoFiles | awk '{print $1}'` set file2=`echo $twoFiles | awk '{print $2}'` echo "files: $file1 $file2\n" > $outpath/gbdbDiff.$todayDate diff $outpath/$file1 $outpath/$file2 >> $outpath/gbdbDiff.$todayDate 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