Changeset 1135


Ignore:
Timestamp:
10/29/14 16:06:47 (10 years ago)
Author:
sdipsl
Message:
  • Cosmetics. It was backward compatible but it's nicer like this
File:
1 edited

Legend:

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

    r1125 r1135  
    103103      typeset value=$( gawk -f ${libIGCM}/libIGCM_card/IGCM_card_PrintOption.awk -- "$@" ) 
    104104 
    105       # Only if a section is missing we exit the job. 
    106       # We must allow missing option to keep backward compatibilty. 
     105      # Only if a Section is missing we exit the job. 
     106      # We must allow missing Option to keep backward compatibilty. 
    107107      if [ "${value}" = "Error: Section not found" ] ; then 
    108108        echo 
     
    111111        IGCM_debug_Exit 
    112112        IGCM_debug_Verif_Exit 
     113      elif [ "${value}" = "Error: Option not found" ] ; then 
     114         eval ${name}=${NULL_STR} 
     115      else 
     116        eval ${name}=${value} 
    113117      fi 
    114       eval ${name}=${value} 
     118      echo ${value} 
    115119  else 
    116120    echo 
Note: See TracChangeset for help on using the changeset viewer.