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_mercure.ksh

    r374 r375  
    11331133} 
    11341134 
    1135 ncatted=ncatted 
    1136 # Problem with ksh and string passed in this function to ncatted ! 
    1137 # function IGCM_sys_ncatted { 
    1138 #     IGCM_debug_PushStack "IGCM_sys_ncatted" -- $@ 
    1139 #     if ( $DEBUG_sys ) ; then 
    1140 #       echo "IGCM_sys_ncatted :" $@ 
    1141 #     fi 
    1142 #     ncatted $@ 
    1143 #     if [ $? -gt 0 ] ; then 
    1144 #        echo "IGCM_sys_ncatted : erreur ${@}." 
    1145 #        IGCM_debug_Exit "ncatted" 
    1146 #     fi 
    1147  
    1148 #     IGCM_debug_PopStack "IGCM_sys_ncatted" 
    1149 # } 
     1135function IGCM_sys_ncatted { 
     1136    IGCM_debug_PushStack "IGCM_sys_ncatted" -- $@ 
     1137    if ( $DEBUG_sys ) ; then 
     1138        echo "IGCM_sys_ncatted :" $@ 
     1139    fi 
     1140    ncatted "$@" 
     1141    if [ $? -gt 0 ] ; then 
     1142       echo "IGCM_sys_ncatted : erreur ${@}." 
     1143#       IGCM_debug_Exit "ncatted" 
     1144    fi 
     1145 
     1146    IGCM_debug_PopStack "IGCM_sys_ncatted" 
     1147} 
    11501148 
    11511149function IGCM_sys_ncbo { 
Note: See TracChangeset for help on using the changeset viewer.