Ignore:
Timestamp:
08/22/13 12:39:05 (11 years ago)
Author:
sdipsl
Message:

bugfix again with instrumentation. Should be fine now...
syntax error in libIGCM_sys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh

    r934 r936  
    4242    typeset StackFileLocation=${POST_DIR:=${PWD}} 
    4343    typeset StackFileName=checking.stack.$$ 
    44   fi 
     44  else 
     45    typeset StackFileLocation=${POST_DIR:=${PWD}} 
     46    typeset StackFileName=checking.stack.$$ 
     47  fi 
     48 
    4549  if [ -f ${StackFileLocation}/${StackFileName} ] ; 
    4650  then 
     
    334338        entitySize=$( IGCM_debug_sizeOfTabContent source ${dest} ) 
    335339      elif ( [ ${#arguments[*]} -eq 3 ] && [ ${arguments[0]} = '/l' ] ) ; then 
     340        # IGCM_sys_Get /l liste_file[*] /ccc/scratch/cont003/dsm/p86denv/RUN_DIR/985998_14754/ 
    336341        # Keep the array name hosting the all list 
    337         eval fileList=\${${arguments[1]}[*]} 
     342        eval set +A fileList \${${arguments[1]}} 
    338343        # just need the first file to get the directory 
    339         eval source=\${${arguments[1]}[0]} 
     344        source=${fileList[0]} 
    340345        dest=${arguments[2]} 
    341346        # Size of file whose name are stored in a list 
    342         entitySize=$( IGCM_debug_sizeOfTabContent fileList ${dest} ) 
     347        entitySize=$( IGCM_debug_sizeOfTabContent fileList[*] ${dest} ) 
    343348      elif [ [ ${#arguments[*]} -ge 3 ] ; then 
    344349       # All but the latest 
Note: See TracChangeset for help on using the changeset viewer.