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

    r374 r375  
    11751175} 
    11761176 
    1177 ncatted=/usr/local/bin/ncatted 
    1178 # Problem with ksh and string passed in this function to ncatted ! 
    1179 # function IGCM_sys_ncatted { 
    1180 #     IGCM_debug_PushStack "IGCM_sys_ncatted" -- $@ 
    1181 #     if ( $DEBUG_sys ) ; then 
    1182 #       echo "IGCM_sys_ncatted :" $@ 
    1183 #     fi 
    1184 #     /usr/local/bin/ncatted $@ 
    1185 #     if [ $? -gt 0 ] ; then 
    1186 #        echo "IGCM_sys_ncatted : erreur ${@}." 
    1187 #        IGCM_debug_Exit "ncatted" 
    1188 #     fi 
    1189  
    1190 #     IGCM_debug_PopStack "IGCM_sys_ncatted" 
    1191 # } 
     1177function IGCM_sys_ncatted { 
     1178    IGCM_debug_PushStack "IGCM_sys_ncatted" -- $@ 
     1179    if ( $DEBUG_sys ) ; then 
     1180        echo "IGCM_sys_ncatted :" $@ 
     1181    fi 
     1182    /usr/local/bin/ncatted "$@" 
     1183    if [ $? -gt 0 ] ; then 
     1184       echo "IGCM_sys_ncatted : erreur ${@}." 
     1185#       IGCM_debug_Exit "ncatted" 
     1186    fi 
     1187 
     1188    IGCM_debug_PopStack "IGCM_sys_ncatted" 
     1189} 
    11921190 
    11931191function IGCM_sys_ncbo { 
Note: See TracChangeset for help on using the changeset viewer.