Changeset 660
- Timestamp:
- 04/24/12 11:18:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_card/libIGCM_card.ksh
r475 r660 166 166 eval ${name}[0]=${NULL_STR} 167 167 set +A ${name} -- $( gawk -f ${libIGCM}/libIGCM_card/IGCM_card_PrintSection.awk -- "$@" ) 168 if [ "$( eval echo \${${name}[@]} )" = "Error: Section not found" ] ; then 169 echo 170 IGCM_debug_Print 1 "Error with readding of ${name} variable in ${1}." 171 IGCM_debug_Print 1 "Error: Section ${2} not found" 172 IGCM_debug_Exit 173 IGCM_debug_Verif_Exit 168 #if [ "$( eval echo \${${name}[@]} )" = "Error: Section not found" ] ; then 169 # echo 170 # IGCM_debug_Print 1 "Error with readding of ${name} variable in ${1}." 171 # IGCM_debug_Print 1 "Error: Section ${2} not found" 172 # IGCM_debug_Exit 173 # IGCM_debug_Verif_Exit 174 #fi 175 if [ "$( eval echo \${${name}[@]} )" = "Error: Section not found" ] ; then 176 echo 177 IGCM_debug_Print 1 "Warning with readding of ${name} variable in ${1}." 178 IGCM_debug_Print 1 "Warning: Section ${2} not found" 179 eval unset ${name} 174 180 fi 175 181 else
Note: See TracChangeset
for help on using the changeset viewer.