Changeset 1979


Ignore:
Timestamp:
12/19/12 10:22:04 (9 years ago)
Author:
acosce
Message:

bug fixe : there was a problem in the reading of date end for debug list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/archive_debug.sh

    r1962 r1979  
    168168   last_file=$(tail -n 1 ${IGCM_TMP}/${$}.liste_pack_debug_${number_pack}.txt.tmp ) 
    169169   extract_date_file=$( echo ${last_file}  | sed -e "s/.*${JobName}_//" ) 
    170    DateEnd_Debug=$(   echo ${extract_date_file}| sed 's/\([0-9]\{8\}\)_.*$/\1/g' ) 
     170   DateEnd_Debug=$(   echo ${extract_date_file}| sed 's%.*\([0-9]\{8\}\)_.*$%\1%g' ) 
    171171   mv ${IGCM_TMP}/${$}.liste_pack_debug_${number_pack}.txt.tmp ${DEBUG_TAR}/${JobName}_debug_${DateBegin_Debug}_${DateEnd_Debug}.list 
    172172 
Note: See TracChangeset for help on using the changeset viewer.