Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#2684 closed Defect (fixed)

makenemo "-e" option unsafe behaviour

Reported by: gsamson Owned by: gsamson
Priority: low Milestone:
Component: env Version: trunk
Severity: minor Keywords: makenemo, Fmake,
Cc: acc Branch review:
MP ready?: Task progress:

Description

Context & Analysis

when using makenemo -e option to use a custom modified src directory instead of MY_SRC, Fmake_WORK.sh script will first create symlinks from the custom dir to the MY_SRC dir, then from MY_SRC dir to WORK dir.

If by any misfortune you have already another modified version of the same source file in MY_SRC dir, this file will be overwritten by the symlink from the custom dir, which can be disappointing.

Recommendation

Instead of doing a symlink of symlink from custom dir → MY_SRC dir → WORK dir, just simply do a symlink from custom dir to WORK dir

Commit History (3)

ChangesetAuthorTimeChangeLog
15021gsamson2021-06-18T15:43:30+02:00

undo unwanted change… (#2684)

15019gsamson2021-06-18T15:07:09+02:00

small bugfix related & enhancement to #2684 in the case of config names containing special characters such as ISOMIP+

14947gsamson2021-06-04T16:09:44+02:00

modify Fmake_WORK.sh script and call in makenemo to correctly handle '-e' option; ticket #2684

Change History (4)

comment:1 Changed 6 months ago by gsamson

In 14947:

modify Fmake_WORK.sh script and call in makenemo to correctly handle '-e' option; ticket #2684

comment:2 Changed 6 months ago by gsamson

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 6 months ago by gsamson

In 15019:

small bugfix related & enhancement to #2684 in the case of config names containing special characters such as ISOMIP+

comment:4 Changed 6 months ago by gsamson

In 15021:

undo unwanted change… (#2684)

Note: See TracTickets for help on using tickets.