diff options
author | Warner Losh <imp@FreeBSD.org> | 2020-08-07 16:26:56 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2020-08-07 16:26:56 +0000 |
commit | 33176cdc87a6c7d2993b4e6b95e9ce8b016454b4 (patch) | |
tree | c4b9f2f7c4519cdc515542695b5ffc0b2e800aa0 /Makefile.inc1 | |
parent | 1f325602e470231d230d79526e98c4000403ca41 (diff) | |
download | src-33176cdc87a6c7d2993b4e6b95e9ce8b016454b4.tar.gz src-33176cdc87a6c7d2993b4e6b95e9ce8b016454b4.zip |
Notes
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 6d58e641fd00..00abab63d24b 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -2293,13 +2293,12 @@ ${_bt}-links: .PHONY .for _tool in ${_bootstrap_tools_links} ${_bt}-link-${_tool}: .PHONY .MAKE - @if [ ! -e "${WORLDTMP}/legacy/bin/${_tool}" ]; then \ - source_path=`which ${_tool}`; \ - if [ ! -e "$${source_path}" ] ; then \ - echo "Cannot find host tool '${_tool}'"; false; \ - fi; \ - ln -sfnv "$${source_path}" "${WORLDTMP}/legacy/bin/${_tool}"; \ - fi + @rm -f "${WORLDTMP}/legacy/bin/${_tool}"; \ + source_path=`which ${_tool}`; \ + if [ ! -e "$${source_path}" ] ; then \ + echo "Cannot find host tool '${_tool}'"; false; \ + fi; \ + cp -f "$${source_path}" "${WORLDTMP}/legacy/bin/${_tool}" ${_bt}-links: ${_bt}-link-${_tool} .endfor |