aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2020-08-07 16:26:56 +0000
committerWarner Losh <imp@FreeBSD.org>2020-08-07 16:26:56 +0000
commit33176cdc87a6c7d2993b4e6b95e9ce8b016454b4 (patch)
treec4b9f2f7c4519cdc515542695b5ffc0b2e800aa0 /Makefile.inc1
parent1f325602e470231d230d79526e98c4000403ca41 (diff)
downloadsrc-33176cdc87a6c7d2993b4e6b95e9ce8b016454b4.tar.gz
src-33176cdc87a6c7d2993b4e6b95e9ce8b016454b4.zip
Notes
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc113
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