Changeset 1289


Ignore:
Timestamp:
03/07/16 16:49:45 (8 years ago)
Author:
sdipsl
Message:

Bugfix. When matching some conditins a file can be copied in the REBUILD directory before the his regular location when it is not needed. Prevent this useless movement to occur.

File:
1 edited

Legend:

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

    r1248 r1289  
    17301730          # 
    17311731          thereisapatch=$( eval echo \${${compname}_${flag_post}_Patches[0]} ) 
    1732           if ( [ ! X${thereisapatch} = X${NULL_STR} ] && [ X${AsynchronousRebuild} = Xtrue ] && [ -f ${file_in} ] ) ; then 
     1732          if ( [ ! X${thereisapatch} = X${NULL_STR} ] && [ ! X${thereisapatch} = X ] && [ X${AsynchronousRebuild} = Xtrue ] && [ -f ${file_in} ] ) ; then 
    17331733            IGCM_sys_Mv ${file_in} ${RUN_DIR}/REBUILD_${PeriodDateBegin} 
    17341734            eval FileToBeDeleted[${#FileToBeDeleted[@]}]=REBUILD_${PeriodDateBegin}/${file_in} > /dev/null 2>&1 
Note: See TracChangeset for help on using the changeset viewer.