Changeset 1585


Ignore:
Timestamp:
11/18/11 16:24:08 (12 years ago)
Author:
mmaipsl
Message:

Add a test on the argument : a save tree to rebuild.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modipsl/trunk/util/script_recup_model

    r1583 r1585  
    5454#typeset NbComponents ModelComponents ModelTags ModelSystems ModelServers ModelDirectories ModelLocalDirs ListPathComp ListPathFile ListPathRev ListPathBranch ListNewFiles ListModifFiles ListModifFilesDate Maxfiledate 
    5555 
     56if [ -f ${MODIPSL_SAVE}/Last_log ] ; then 
     57    echo "You need to give a valid tree in argument of this script." 
     58    echo "usage (in modipsl path) :" 
     59    echo "modipsl_path> util/script_recup_model modipsl_name_of_the_save" 
     60    exit 1 
     61fi 
    5662 
    5763((i=1)) 
Note: See TracChangeset for help on using the changeset viewer.