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

    r374 r375  
    12351235} 
    12361236 
    1237 ncatted=/applications/nco/bin/ncatted 
    1238 # Problem with ksh and string passed in this function to ncatted ! 
    1239 # function IGCM_sys_ncatted { 
    1240 #     IGCM_debug_PushStack "IGCM_sys_ncatted" -- $@ 
    1241 #     if ( $DEBUG_sys ) ; then 
    1242 #       echo "IGCM_sys_ncatted :" $@ 
    1243 #     fi 
    1244 #     /usr/local/bin/ncatted $@ 
    1245 #     if [ $? -gt 0 ] ; then 
    1246 #        echo "IGCM_sys_ncatted : erreur ${@}." 
    1247 #        IGCM_debug_Exit "ncatted" 
    1248 #     fi 
    1249  
    1250 #     IGCM_debug_PopStack "IGCM_sys_ncatted" 
    1251 # } 
     1237function IGCM_sys_ncatted { 
     1238    IGCM_debug_PushStack "IGCM_sys_ncatted" -- $@ 
     1239    if ( $DEBUG_sys ) ; then 
     1240        echo "IGCM_sys_ncatted :" $@ 
     1241    fi 
     1242    /usr/local/bin/ncatted "$@" 
     1243    if [ $? -gt 0 ] ; then 
     1244       echo "IGCM_sys_ncatted : erreur ${@}." 
     1245#       IGCM_debug_Exit "ncatted" 
     1246    fi 
     1247 
     1248    IGCM_debug_PopStack "IGCM_sys_ncatted" 
     1249} 
    12521250 
    12531251function IGCM_sys_ncbo { 
Note: See TracChangeset for help on using the changeset viewer.