Ignore:
Timestamp:
07/04/13 16:25:16 (11 years ago)
Author:
mafoipsl
Message:

add treatment to recognize RESTART file with this pattern : *_20781231_20781231_*.tar. Correction of #152.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh

    r849 r884  
    732732                        sed "s:\.restart\.tar$::" | \ 
    733733                        gawk -F_ -v restartdate=${Date_r} \ 
    734                              '{if (($1 < restartdate) && ($2 >= restartdate)) {print $1"_"$2}}' ) 
     734                             '{if (($1 <= restartdate) && ($2 >= restartdate)) {print $1"_"$2}}' ) 
    735735                  if [ ! X${IsMatching} = X ] ; then 
    736736                    TarFileFound=${PotentialTarFile} 
Note: See TracChangeset for help on using the changeset viewer.