From ade24c291649627522723adddc90aa10704c767a Mon Sep 17 00:00:00 2001 From: "Walter.Kolczynski" Date: Mon, 21 Aug 2023 22:03:09 -0500 Subject: [PATCH] Replace full-path restart links with relative links Symlinks for the final restart time used the full path name, even though the targets are in the same directory. This means the links would break if the directory were moved or (more importantly) put in a tarball. The links have now been replaced with relative links. Resolves #1446 --- ush/forecast_predet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ush/forecast_predet.sh b/ush/forecast_predet.sh index ebd3c410a6..0ec23c86ce 100755 --- a/ush/forecast_predet.sh +++ b/ush/forecast_predet.sh @@ -210,7 +210,7 @@ FV3_predet(){ done done for file in ${files}; do - ${NLN} "${COM_ATMOS_RESTART}/${file}" "${COM_ATMOS_RESTART}/${forecast_end_cycle:0:8}.${forecast_end_cycle:8:2}0000.${file}" + ${NLN} "${file}" "${COM_ATMOS_RESTART}/${forecast_end_cycle:0:8}.${forecast_end_cycle:8:2}0000.${file}" done else mkdir -p "${DATA}/RESTART"