summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2004-09-15 05:14:21 +0000
committerbrooks <brooks@FreeBSD.org>2004-09-15 05:14:21 +0000
commit9eb29202ee07f54c8606e3159a21849418067aa0 (patch)
tree9c7c2f3a0e754cd78ddfdeb4cdd0c140a9d40363 /release
parentaf4088bbfb3b0f957f9993e84bd90732acb7ef78 (diff)
downloadFreeBSD-src-9eb29202ee07f54c8606e3159a21849418067aa0.zip
FreeBSD-src-9eb29202ee07f54c8606e3159a21849418067aa0.tar.gz
Use "cp -f" instead of "rm" and "cp" to break the hardlink to
device.hints. Submitted by: ru
Diffstat (limited to 'release')
-rw-r--r--release/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index 669063e..24f8e46 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -919,8 +919,7 @@ cdrom.1:
@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DISC2}/boot/loader.conf
.if exists(${HINTSFILE})
# Break the link to device.hints so we can modify it
- @rm ${CD_DISC2}/boot/device.hints
- @cp ${HINTSFILE} ${CD_DISC2}/boot/device.hints
+ @cp -f ${HINTSFILE} ${CD_DISC2}/boot/device.hints
.if ${TARGET} == "i386" || ${TARGET_ARCH} == "amd64"
@echo 'hint.atkbd.0.flags="0x1"' >> ${CD_DISC2}/boot/device.hints
.endif
OpenPOWER on IntegriCloud