/[CCFs]/bin/mlovccf
ViewVC logotype

Diff of /bin/mlovccf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by ccflib, Wed Jul 25 10:24:15 2018 UTC revision 1.21 by ccflib, Wed Jul 25 12:06:24 2018 UTC
# Line 18  Line 18 
18  # This is obtained from the report of all observations that the XSA makes to CDS,  # This is obtained from the report of all observations that the XSA makes to CDS,
19  # xsaobslog.txt (http://nxsa.esac.esa.int/ftp_public/cfs_obslog/xsaobslog.txt).  # xsaobslog.txt (http://nxsa.esac.esa.int/ftp_public/cfs_obslog/xsaobslog.txt).
20  #  #
21  # $Id: mlovccf,v 1.19 2017/01/10 16:43:39 ccflib Exp $  # $Id: mlovccf,v 1.20 2018/07/25 10:24:15 ccflib Exp $
22    
23  # Next two lines allow to submit this script to the grid  # Next two lines allow to submit this script to the grid
24  # request Bourne shell as shell for job  # request Bourne shell as shell for job
# Line 134  fillvalidccfdir() Line 134  fillvalidccfdir()
134    
135  validccflist=$1  validccflist=$1
136    
137  if [ ! -f "${VALID_CCF}/${validccflist}"  ] ; then  if [ ! -f "${VALID_CCF}/${validccflist}" -o ! -s "${VALID_CCF}/${validccflist}"  ] ; then
138          echo "Error: ${VALID_CCF}/${validccflist} not found - Abort!"          echo "Error: ${VALID_CCF}/${validccflist} not found or empty - Abort!"
139          [ -f "${mailfile}" ] && rm -rf ${mailfile}          [ -f "${mailfile}" ] && rm -rf ${mailfile}
140          echo "The list of valid CCF ${VALID_CCF}/${validccflist} is not found" >> $mailfile          echo "The list of valid CCF ${VALID_CCF}/${validccflist} is not found or it is empty" >> $mailfile
141          mailnotify "mvloccf: Error: ${VALID_CCF}/${validccflist} not found - Abort!" $mailfile          mailnotify "mvloccf: Error: ${VALID_CCF}/${validccflist} not found or it is empty - Abort!" $mailfile
142          rm ${mailfile}          rm ${mailfile}
143          exit          exit
144  fi  fi

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.27