Ignore:
Timestamp:
03/03/10 15:58:56 (14 years ago)
Author:
sdipsl
Message:
  • Bugfix. update the counter before we bypass the loop when using new Seasonal option is not ON
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_se

    r239 r240  
    235235        typeset i=2 
    236236        # 
    237         until [ $i -eq $NbFiles ]; do 
     237        until [ $i -gt $NbFiles ]; do 
    238238            # 
    239239            eval flag_post_=\${${ListFilesName}[$i]} > /dev/null 2>&1 
     
    261261                # 
    262262                if [ ! X$( eval echo \${${compname}_${flag_post}_Seasonal} ) = XON ] ; then 
     263                    let $(( i=i+3 )) 
    263264                    continue 
    264265                fi 
Note: See TracChangeset for help on using the changeset viewer.