Changeset 531


Ignore:
Timestamp:
Sep 29, 2011, 9:27:03 AM (13 years ago)
Author:
campagne
Message:

correct small bug (jec)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/statusonoff.sh

    r519 r531  
    7070    sourceDate="${sourceName}-${dateField}"
    7171#look if final data processing files exist
    72     onOffOk=`ils ${j} | $GREP -i "data|diff" | $WC -l`
     72    onOffOk=`ils ${j} | $GREP -i "data.*\.ppf\|diff.*\.ppf" | $WC -l`
    7373    offDirExist=`ils ${j} | $GREP -i "Off" | $WC -l`
    7474    if [ ${offDirExist} != 0 ]; then
     
    104104    sourceDate="${sourceName}-${dateField}"
    105105#look if final calibration files exist
    106     onOffOk=`ils ${j} | $GREP -i "data|diff" | $WC -l`
     106    onOnOk=`ils ${j} | $GREP -i "data.*\.ppf\|diff.*\.ppf" | $WC -l`
    107107    onDirExist=`ils ${j} | $GREP -i "On" | $WC -l`
    108108    if [ ${onDirExist} != 0 ]; then
     
    119119             nFiles=`ils ${j}/On/${c} | $GREP -i "medfiltmtx" | $WC -l`
    120120             if [ ${nFiles} != 0 ]; then
    121                  $ECHO "${sourceDate}/On/${c}: ${nFiles} spectra (${onOffOk} ana)"
     121                 $ECHO "${sourceDate}/On/${c}: ${nFiles} spectra (${onOnOk} ana)"
    122122             else
    123123                 $ECHO "${sourceDate}/On/${c}: ON-OFF failed"
Note: See TracChangeset for help on using the changeset viewer.