Ignore:
Timestamp:
11/03/10 12:25:42 (14 years ago)
Author:
brocksce
Message:

Reactive IGCM_sys_ncatted with "$@" change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_ulam.ksh

    r374 r375  
    10141014} 
    10151015 
    1016 ncatted=ncatted 
    1017 # Problem with ksh and string passed in this function to ncatted ! 
    1018 # function IGCM_sys_ncatted { 
    1019 #     IGCM_debug_PushStack "IGCM_sys_ncatted" -- $@ 
    1020 #     if ( $DEBUG_sys ) ; then 
    1021 #       echo "IGCM_sys_ncatted :" $@ 
    1022 #     fi 
    1023 #     ncatted $@ 
    1024 #     if [ $? -gt 0 ] ; then 
    1025 #        echo "IGCM_sys_ncatted : erreur ${@}." 
    1026 #        IGCM_debug_Exit "ncatted" 
    1027 #     fi 
    1028  
    1029 #     IGCM_debug_PopStack "IGCM_sys_ncatted" 
    1030 # } 
     1016function IGCM_sys_ncatted { 
     1017    IGCM_debug_PushStack "IGCM_sys_ncatted" -- $@ 
     1018    if ( $DEBUG_sys ) ; then 
     1019        echo "IGCM_sys_ncatted :" $@ 
     1020    fi 
     1021    ncatted "$@" 
     1022    if [ $? -gt 0 ] ; then 
     1023       echo "IGCM_sys_ncatted : erreur ${@}." 
     1024#       IGCM_debug_Exit "ncatted" 
     1025    fi 
     1026 
     1027    IGCM_debug_PopStack "IGCM_sys_ncatted" 
     1028} 
    10311029 
    10321030function IGCM_sys_ncbo { 
Note: See TracChangeset for help on using the changeset viewer.