Ignore:
Timestamp:
03/12/09 17:56:49 (15 years ago)
Author:
sdipsl
Message:

A few bug fixes and adaptation for ulam so that libIGCM auto-check
succeed on this machine.

File:
1 edited

Legend:

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

    r46 r54  
    5757 
    5858# insert last argument of the Stack 
    59 set +A IGCM_debug_Stack ${NULL_STR} 
    60 set +A IGCM_debug_StackArgs ${NULL_STR} 
     59#set -A IGCM_debug_Stack ${NULL_STR} 
     60#set -A IGCM_debug_StackArgs ${NULL_STR} 
     61IGCM_debug_Stack[0]=${NULL_STR} 
     62IGCM_debug_StackArgs[0]=${NULL_STR} 
    6163IGCM_debug_LenStack=0 
    6264 
     
    157159          #IGCM_debug_Print 3 "Clean stack array" 
    158160          #echo 
    159           set -A IGCM_debug_Stack ${NULL_STR} 
    160           set -A IGCM_debug_StackArgs ${NULL_STR} 
     161          #set -A IGCM_debug_Stack ${NULL_STR} 
     162          #set -A IGCM_debug_StackArgs ${NULL_STR} 
     163          IGCM_debug_Stack[0]=${NULL_STR} 
     164          IGCM_debug_StackArgs[0]=${NULL_STR} 
    161165      fi 
    162166 
     
    248252    shift 
    249253 
    250     if set | grep $1 | sed -e "s/'//g" > /dev/null 2>&1  ; then 
    251         typeset list=$( set | grep $1 | sed -e "s/'//g" ) 
     254    list=$( set | grep $1 | sed -e "s/'//g" ) 
     255 
     256    if [ "X${list}" != X ]  ; then 
    252257        IGCM_debug_Print ${level} ${list} 
    253258    fi 
Note: See TracChangeset for help on using the changeset viewer.