Changeset 96


Ignore:
Timestamp:
07/24/07 14:47:57 (17 years ago)
Author:
bellier
Message:

JB: add some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modipsl/trunk/util/ins_job

    r93 r96  
    104104#- 
    105105F_CFG='config.card'; 
    106 l_cfg=$(find ${d_n}/.. -name ${F_CFG} -print) 
    107 for i in ${l_cfg} 
     106for i in $(find ${d_n}/.. -name ${F_CFG} -print) 
    108107do 
    109108 j=$(cd ${i%/*};pwd) 
    110109 n_f=${F_RCI##*/}; 
    111  [[ -f ${j}'/'${n_f} ]] && { ins_job_Warning; } 
    112  [[ ! -f ${j}'/'${n_f} ]] && \ 
     110 [[ -f ${j}'/'${n_f} ]] && { ins_job_Warning; } || \ 
    113111  { 
    114112   print - "\nCopying file ${F_RCI}\nin directory ${j}"; 
     
    129127# and create jobs (for all except AA_job) 
    130128#- 
    131 l_cfg=$(find ${libIGCM} -name "AA_*" -print) 
    132 for i in ${l_cfg} 
     129for i in $(find ${libIGCM} -name "AA_*" -print) 
    133130do 
    134131 i_f=${i##*/}; 
Note: See TracChangeset for help on using the changeset viewer.