aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2004-09-15 05:14:21 +0000
committerBrooks Davis <brooks@FreeBSD.org>2004-09-15 05:14:21 +0000
commit3f332bb341ebe08bb319acdd8c77aa463c71f6b3 (patch)
tree9c7c2f3a0e754cd78ddfdeb4cdd0c140a9d40363 /release/Makefile
parentc859ef977e347c7dd2a1086f0f1809838300eec0 (diff)
downloadsrc-3f332bb341ebe08bb319acdd8c77aa463c71f6b3.tar.gz
src-3f332bb341ebe08bb319acdd8c77aa463c71f6b3.zip
Use "cp -f" instead of "rm" and "cp" to break the hardlink to
device.hints. Submitted by: ru
Notes
Notes: svn path=/head/; revision=135257
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index 669063e21a12..24f8e468c6bf 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