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 13528 for utils – NEMO

Changeset 13528 for utils


Ignore:
Timestamp:
2020-09-25T18:01:58+02:00 (4 years ago)
Author:
gsamson
Message:

add the possibility to store MY_SRC files into subdirectories (for exemple: MY_SRC/ticket#XXXX/*.F90 and MY_SRC/ticket#YYYY/*.F90) by using 'find' instead of 'ls' to search files in MY_SRC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/build/mk/Fmake_WORK.sh

    r9651 r13528  
    9393done 
    9494 
    95 for i in `(cd ${ZCONF}/MY_SRC ; \ls *.[Ffh]90 2>/dev/null ) `; do 
    96    [ -f ${ZCONF}/MY_SRC/$i ] &&  ln -sf $PWD/${ZCONF}/MY_SRC/${i} ${ZCONF}/WORK/. 
     95for i in `(find ${ZCONF}/MY_SRC -name *.[Ffh]90 2>/dev/null ) `; do 
     96   [ -f $i ] &&  ln -sf $PWD/${i} ${ZCONF}/WORK/. 
    9797done 
    9898 
Note: See TracChangeset for help on using the changeset viewer.