Changeset 1583


Ignore:
Timestamp:
11/18/11 16:14:23 (12 years ago)
Author:
mmaipsl
Message:

Correct usage in Documentation. Add tex and AA_ and BB_ files.

Location:
modipsl/trunk/util
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • modipsl/trunk/util/script_diff_model

    r1580 r1583  
    2525# 
    2626# It may be used in modipsl directory : 
    27 # modipsl_path> util/script_diff_model modipsl_name_of_the_save 
    28 # 
    29 # After this use, you will have a modipsl_path/modipsl_name_of_the_save.tar file that you can save with the 
    30 # executable you have build with this modified configuration. 
     27# modipsl_path> util/script_diff_model 
     28# 
     29# After this use, you will have a modipsl_path/modipsl_save_diff_$( date +%F_%H%M%S ) tree that  
     30# you can tar and save with the executable you have build with this modified configuration. 
    3131# 
    3232# Note : 
     
    6363 
    6464# Code source suffixe for new file detection  
    65 SUFFIXES='\(f90\|F90\|f\|F\|h\|h90\|hh\|c\|cc\|inc\|fcm\|path\|cfg\|card\|driver\|def\|def_.*\|txt\|xml\|ksh\)' 
     65SUFFIXES='\(f90\|F90\|f\|F\|h\|h90\|hh\|c\|cc\|inc\|fcm\|path\|cfg\|card\|driver\|def\|def_.*\|txt\|xml\|ksh\|tex\)' 
    6666 
    6767MODIPSL_SAVE_NAME=modipsl_save_diff_$( date +%F_%H%M%S ) 
     68echo "out directory in " ${MODIPSL_SAVE_NAME} 
    6869MODIPSL_SAVE=${MODIPSL}/${MODIPSL_SAVE_NAME} 
    6970printDebugArray MODIPSL_SAVE 
     
    188189                else 
    189190                    svn status ${filecomp} > ${MODIPSL}/svn_status_${save_diff_file} 
    190                     set -A NewFiles -- $( grep "^? .*\.${SUFFIXES}$" ${MODIPSL}/svn_status_${save_diff_file} | sed -e "s&? *&&" ) 
     191                    set -A NewFiles -- $( grep "^? *\(.*\.${SUFFIXES}\|AA_.*\|BB_.*\)$" ${MODIPSL}/svn_status_${save_diff_file} | sed -e "s&? *&&" ) 
    191192                    printDebugArray NewFiles 
    192193                    for file in ${NewFiles[@]} ; do 
     
    197198                    done 
    198199 
    199                     set -A ModifiedFiles -- $( grep "^M .*\.${SUFFIXES}$" ${MODIPSL}/svn_status_${save_diff_file} | sed -e "s&M *&&" ) 
     200                    set -A ModifiedFiles -- $( grep "^M *" ${MODIPSL}/svn_status_${save_diff_file} | sed -e "s&M *&&" ) 
    200201                    printDebugArray ModifiedFiles 
    201202                    for file in ${ModifiedFiles[@]} ; do 
     
    304305echo ${ListModifFilesDate[@]} >> ${MODIPSL_SAVE}/Last_log 
    305306echo ${Maxfiledate} >> ${MODIPSL_SAVE}/Last_log 
     307 
     308 
     309echo "out directory in " ${MODIPSL_SAVE} 
  • modipsl/trunk/util/script_log_analyse

    r1579 r1583  
    9191 
    9292rm ${LastModelFile} 
    93 rm ${logfile} 
  • modipsl/trunk/util/script_recup_model

    r1581 r1583  
    1515# This script creates a tree of last configuration modipsl from a tar file previously produced by script_diff_model. 
    1616# 
    17 # After you have downloaded modipsl, you can copy a modipsl_name_of_the_save.tar file in modipsl. 
     17# After you have downloaded modipsl, you can copy a modipsl_name_of_the_save directory tree (from a saved tar file) in modipsl. 
    1818# (Please, see script_diff_model documentation for information of how to get this file.) 
    1919# You may use this script to download the same configuration with new files and modifications linked with this tarball. 
     
    2121# usage (in modipsl path) : 
    2222# modipsl_path> util/script_recup_model modipsl_name_of_the_save 
    23 # (without tar extension.) 
    2423# 
    2524# After this whole configuration is backuped, you must use as usual ins_make and ins_job script  
Note: See TracChangeset for help on using the changeset viewer.