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 14294 – NEMO

Changeset 14294


Ignore:
Timestamp:
2021-01-12T19:52:57+01:00 (3 years ago)
Author:
gsamson
Message:

possibility to use maketools from any directory (as it is done and already possible with makenemo)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/tools_r4.0-HEAD/maketools

    r12671 r14294  
    7474#- Local variables --- 
    7575b_n=$(basename ${0}) 
    76 export MAIN_DIR=${PWD%/tools*} 
    77 export TOOLS_DIR=${MAIN_DIR}/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.