- Timestamp:
- 07/24/07 14:47:57 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modipsl/trunk/util/ins_job
r93 r96 104 104 #- 105 105 F_CFG='config.card'; 106 l_cfg=$(find ${d_n}/.. -name ${F_CFG} -print) 107 for i in ${l_cfg} 106 for i in $(find ${d_n}/.. -name ${F_CFG} -print) 108 107 do 109 108 j=$(cd ${i%/*};pwd) 110 109 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; } || \ 113 111 { 114 112 print - "\nCopying file ${F_RCI}\nin directory ${j}"; … … 129 127 # and create jobs (for all except AA_job) 130 128 #- 131 l_cfg=$(find ${libIGCM} -name "AA_*" -print) 132 for i in ${l_cfg} 129 for i in $(find ${libIGCM} -name "AA_*" -print) 133 130 do 134 131 i_f=${i##*/};
Note: See TracChangeset
for help on using the changeset viewer.