Ignore:
Timestamp:
03/01/10 18:28:55 (14 years ago)
Author:
sdipsl
Message:

-Add some default behavior to reach the backward compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_se

    r236 r237  
    246246                IGCM_card_DefineArrayFromOption ${card} ${flag_post} Seasonal 
    247247                # 
     248                # If option is not found (old cards) put SEASONAL ON by default 
     249                # 
     250                if [ "$( eval echo \${${compname}_${flag_post}_Seasonal} )" = "Option not found ${flag_post}" ] ; then 
     251                    eval ${compname}_${flag_post}_Seasonal=ON 
     252                fi 
     253                # 
    248254                if [ ! X$( eval echo \${${compname}_${flag_post}_Seasonal} ) = XON ] ; then 
    249255                    continue 
Note: See TracChangeset for help on using the changeset viewer.