be4311c07e14feb728abc6425ee606ffaa611a58 markd Fri Jan 22 06:46:58 2021 -0800 merge with master diff --git src/hg/utils/otto/isca/checkISCA.sh src/hg/utils/otto/isca/checkISCA.sh index 46aafa0..5b8f346 100755 --- src/hg/utils/otto/isca/checkISCA.sh +++ src/hg/utils/otto/isca/checkISCA.sh @@ -40,31 +40,31 @@ ls nstd101* ls nstd37* bye" > ftp.isca.rsp # reorganize results files rm -f ls.check rm -f old.release.list if [ -e prev.release.list ] then mv prev.release.list old.release.list fi cp -p release.list prev.release.list rm -f release.list # connect and list a directory, result to file: ls.check -ftp -n -v -i ftp.ncbi.nlm.nih.gov < ftp.isca.rsp > ls.check +ftp -n -v -i ftp.ncbi.nlm.nih.gov 2>&1 < ftp.isca.rsp &> ls.check # fetch the release directory names from the ls.check result file grep "gvf.gz" ls.check | sort > release.list || echo "Error - no gvf files found" touch release.list chmod o+w release.list # verify we are getting a proper list WC=`cat release.list | wc -l` if [ "${WC}" -lt 1 ]; then echo "potential error in ISCA/ClinGen release watch, no gvf files found. Check ls.check in ${WORKDIR}" cleanUpOnError exit 255 fi