Changeset 108


Ignore:
Timestamp:
07/26/07 12:18:31 (17 years ago)
Author:
bellier
Message:

JB: pwd -> bin/pwd

Location:
modipsl/trunk/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • modipsl/trunk/util/ins_job

    r96 r108  
    5050# Define working files 
    5151#- 
    52 F_MOD=$(cd ${d_n}'/..';pwd) 
     52F_MOD=$(cd ${d_n}'/..';/bin/pwd;) 
    5353[[ ${F_MOD##*/} != 'modipsl' ]] && \ 
    5454 { print - "directory 'modipsl' unreachable"; exit 3; } 
    5555W_W=${d_n}'/../libIGCM' 
    5656[[ ! -d ${W_W} ]] && { print - "${W_W} unreachable"; exit 3; } 
    57 libIGCM=$(cd ${W_W};pwd) 
     57libIGCM=$(cd ${W_W};/bin/pwd;) 
    5858F_JOB=${libIGCM}'/AA_job'; 
    5959[[ ! -f ${F_JOB} ]] && { print - "${F_JOB} unreachable"; exit 3; } 
     
    106106for i in $(find ${d_n}/.. -name ${F_CFG} -print) 
    107107do 
    108  j=$(cd ${i%/*};pwd) 
     108 j=$(cd ${i%/*};/bin/pwd;) 
    109109 n_f=${F_RCI##*/}; 
    110110 [[ -f ${j}'/'${n_f} ]] && { ins_job_Warning; } || \ 
  • modipsl/trunk/util/ins_make

    r104 r108  
    122122#- 
    123123# 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;) 
    125125  W_XX='MAKE_DIR =' 
    126126# Update the value 
Note: See TracChangeset for help on using the changeset viewer.