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

    r374 r375  
    11921192} 
    11931193 
    1194 ncatted=/usr/local/bin/ncatted 
    1195 # Problem with ksh and string passed in this function to ncatted ! 
    1196 # function IGCM_sys_ncatted { 
    1197 #     IGCM_debug_PushStack "IGCM_sys_ncatted" -- $@ 
    1198 #     if ( $DEBUG_sys ) ; then 
    1199 #       echo "IGCM_sys_ncatted :" $@ 
    1200 #     fi 
    1201 #     /usr/local/bin/ncatted $@ 
    1202 #     if [ $? -gt 0 ] ; then 
    1203 #        echo "IGCM_sys_ncatted : erreur ${@}." 
    1204 #        IGCM_debug_Exit "ncatted" 
    1205 #     fi 
    1206  
    1207 #     IGCM_debug_PopStack "IGCM_sys_ncatted" 
    1208 # } 
     1194function IGCM_sys_ncatted { 
     1195    IGCM_debug_PushStack "IGCM_sys_ncatted" -- $@ 
     1196    if ( $DEBUG_sys ) ; then 
     1197        echo "IGCM_sys_ncatted :" $@ 
     1198    fi 
     1199    /usr/local/bin/ncatted "$@" 
     1200    if [ $? -gt 0 ] ; then 
     1201       echo "IGCM_sys_ncatted : erreur ${@}." 
     1202#       IGCM_debug_Exit "ncatted" 
     1203    fi 
     1204 
     1205    IGCM_debug_PopStack "IGCM_sys_ncatted" 
     1206} 
    12091207 
    12101208function IGCM_sys_ncbo { 
Note: See TracChangeset for help on using the changeset viewer.