#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 |
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)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
15021 | gsamson | 2021-06-18T15:43:30+02:00 | undo unwanted change... (#2684) |
15019 | gsamson | 2021-06-18T15:07:09+02:00 | small bugfix related & enhancement to #2684 in the case of config names containing special characters such as ISOMIP+ |
14947 | gsamson | 2021-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 4 years ago by gsamson
comment:2 Changed 4 years ago by gsamson
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 4 years ago by gsamson
In 15019:
comment:4 Changed 4 years ago by gsamson
In 15021:
In 14947: