Skip to content

Commit

Permalink
Replace full-path restart links with relative links
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 NOAA-EMC#1446
  • Loading branch information
WalterKolczynski-NOAA committed Aug 22, 2023
1 parent 282a10c commit ade24c2
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 ade24c2

Please sign in to comment.