Skip to content

Commit

Permalink
Replace full-path restart links with relative links (#1816)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
WalterKolczynski-NOAA authored Aug 24, 2023
1 parent c7fdee8 commit cc21f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ush/forecast_predet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit cc21f2b

Please sign in to comment.