diff --git a/RUNTOOLS/templates/includefile.sh b/RUNTOOLS/templates/includefile.sh index 909d314..499402a 100755 --- a/RUNTOOLS/templates/includefile.sh +++ b/RUNTOOLS/templates/includefile.sh @@ -102,8 +102,8 @@ MERGE_EXEC=$P_UTL_DIR/bin/mergefile_mpp2.exe # rebuild program (REBUIL # if you want netcdf4 output use mergefile_mpp4.exe PYEXEC=$P_EXE_DIR/main.py # OASIS coupled executable - comment to ignore MODELS=$P_EXE_DIR/models.py -ln -s $P_PY_DIR/main.py $PYEXEC -ln -s $P_PY_DIR/models.py $MODELS +ln -sf $P_PY_DIR/main.py $PYEXEC +ln -sf $P_PY_DIR/models.py $MODELS # In the following, set the name of some files that have a hard coded name in NEMO. Files with variable names # are directly set up in the corresponding namelist, the script take care of them. diff --git a/RUNTOOLS/templates/scal/includefile.sh.tmp b/RUNTOOLS/templates/scal/includefile.sh.tmp index a68ee43..889ed79 100755 --- a/RUNTOOLS/templates/scal/includefile.sh.tmp +++ b/RUNTOOLS/templates/scal/includefile.sh.tmp @@ -107,8 +107,8 @@ MERGE_EXEC=$P_UTL_DIR/bin/mergefile_mpp2.exe # rebuild program (REBUIL # if you want netcdf4 output use mergefile_mpp4.exe PYEXEC=$P_EXE_DIR/main.py # OASIS coupled executable - comment to ignore MODELS=$P_EXE_DIR/models.py -ln -s $P_PY_DIR/main.py $PYEXEC -ln -s $P_PY_DIR/models.py $MODELS +ln -sf $P_PY_DIR/main.py $PYEXEC +ln -sf $P_PY_DIR/models.py $MODELS # In the following, set the name of some files that have a hard coded name in NEMO. Files with variable names # are directly set up in the corresponding namelist, the script take care of them.