New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 14295 – NEMO

Changeset 14295


Ignore:
Timestamp:
2021-01-12T19:59:22+01:00 (4 years ago)
Author:
gsamson
Message:

same as r14294 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/tools/maketools

    r13204 r14295  
    7474#- Local variables --- 
    7575b_n=$(basename ${0}) 
    76 export MAIN_DIR=${PWD%/tools*} 
    77 export TOOLS_DIR=${MAIN_DIR}/tools${PWD#*tools} 
     76export TOOLS_DIR=$(cd $(dirname "$0"); pwd) 
     77export MAIN_DIR=${TOOLS_DIR%/tools} 
    7878export COMPIL_DIR=${MAIN_DIR}/mk 
    7979export NEMO_DIR=${MAIN_DIR}/NEMO 
Note: See TracChangeset for help on using the changeset viewer.