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

    r374 r375  
    12911291} 
    12921292 
    1293 ncatted=ncatted 
    1294 # Problem with ksh and string passed in this function to ncatted ! 
    1295 # function IGCM_sys_ncatted { 
    1296 #     IGCM_debug_PushStack "IGCM_sys_ncatted" -- $@ 
    1297 #     if ( $DEBUG_sys ) ; then 
    1298 #       echo "IGCM_sys_ncatted :" $@ 
    1299 #     fi 
    1300 #     ncatted $@ 
    1301 #     if [ $? -gt 0 ] ; then 
    1302 #        echo "IGCM_sys_ncatted : erreur ${@}." 
    1303 #        IGCM_debug_Exit "ncatted" 
    1304 #     fi 
    1305  
    1306 #     IGCM_debug_PopStack "IGCM_sys_ncatted" 
    1307 # } 
     1293function IGCM_sys_ncatted { 
     1294    IGCM_debug_PushStack "IGCM_sys_ncatted" -- $@ 
     1295    if ( $DEBUG_sys ) ; then 
     1296        echo "IGCM_sys_ncatted :" $@ 
     1297    fi 
     1298    ncatted "$@" 
     1299    if [ $? -gt 0 ] ; then 
     1300       echo "IGCM_sys_ncatted : erreur ${@}." 
     1301#       IGCM_debug_Exit "ncatted" 
     1302    fi 
     1303 
     1304    IGCM_debug_PopStack "IGCM_sys_ncatted" 
     1305} 
    13081306 
    13091307function IGCM_sys_ncbo { 
Note: See TracChangeset for help on using the changeset viewer.