Changeset 108
- Timestamp:
- 07/26/07 12:18:31 (17 years ago)
- Location:
- modipsl/trunk/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
modipsl/trunk/util/ins_job
r96 r108 50 50 # Define working files 51 51 #- 52 F_MOD=$(cd ${d_n}'/..'; pwd)52 F_MOD=$(cd ${d_n}'/..';/bin/pwd;) 53 53 [[ ${F_MOD##*/} != 'modipsl' ]] && \ 54 54 { print - "directory 'modipsl' unreachable"; exit 3; } 55 55 W_W=${d_n}'/../libIGCM' 56 56 [[ ! -d ${W_W} ]] && { print - "${W_W} unreachable"; exit 3; } 57 libIGCM=$(cd ${W_W}; pwd)57 libIGCM=$(cd ${W_W};/bin/pwd;) 58 58 F_JOB=${libIGCM}'/AA_job'; 59 59 [[ ! -f ${F_JOB} ]] && { print - "${F_JOB} unreachable"; exit 3; } … … 106 106 for i in $(find ${d_n}/.. -name ${F_CFG} -print) 107 107 do 108 j=$(cd ${i%/*}; pwd)108 j=$(cd ${i%/*};/bin/pwd;) 109 109 n_f=${F_RCI##*/}; 110 110 [[ -f ${j}'/'${n_f} ]] && { ins_job_Warning; } || \ -
modipsl/trunk/util/ins_make
r104 r108 122 122 #- 123 123 # Retrieve the path of the directory 124 cd ${j} > /dev/null; mk_dir=$(/bin/pwd); cd - > /dev/null;124 mk_dir=$(cd ${j};/bin/pwd;) 125 125 W_XX='MAKE_DIR =' 126 126 # Update the value
Note: See TracChangeset
for help on using the changeset viewer.