Changeset 54


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.

Location:
trunk/libIGCM
Files:
2 edited

Legend:

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

    r23 r54  
    275275    fi 
    276276 
    277     typeset ymd y m diy 
     277    typeset ymd y m 
    278278 
    279279    # if there are no command line arguments then assume that a yyyymmdd is being 
     
    410410    # usage IGCM_date_ConvertJulianDateToGregorian 1998213 
    411411 
    412     typeset dt y m d md grg 
     412    typeset dt y m d grg 
    413413 
    414414    # if there is no command line argument, assume one is being  
     
    463463    # usage IGCM_date_AddDaysToJulianDate 1998312 { ,-}14 
    464464 
    465     typeset dif yd d y diy 
     465    typeset dif yd d y 
    466466 
    467467    # Read the difference from the command lines 
  • 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.