summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2010-08-12 20:46:49 +0000
committerwill <will@FreeBSD.org>2010-08-12 20:46:49 +0000
commit10d63a94a97ccfa8ed87bbb189685811693e2574 (patch)
tree2a23665239368ffe96f2c097e25938dd3bf66f4a /share/mk
parent66fa23844575c915ddd0cfe9b7f20cba0f0c97a6 (diff)
downloadFreeBSD-src-10d63a94a97ccfa8ed87bbb189685811693e2574.zip
FreeBSD-src-10d63a94a97ccfa8ed87bbb189685811693e2574.tar.gz
Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as
read-only by default, meaning files copied can't be overwritten next time. Reviewed by: imp Approved by: ken (mentor)
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/sys.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 1131f31..dbd7fa0 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -167,7 +167,7 @@ YFLAGS ?= -d
${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
.sh:
- cp ${.IMPSRC} ${.TARGET}
+ cp -f ${.IMPSRC} ${.TARGET}
chmod a+x ${.TARGET}
# DOUBLE SUFFIX RULES
@@ -225,7 +225,7 @@ YFLAGS ?= -d
# non-Posix rule set
.sh:
- cp -p ${.IMPSRC} ${.TARGET}
+ cp -fp ${.IMPSRC} ${.TARGET}
chmod a+x ${.TARGET}
.c.ln:
OpenPOWER on IntegriCloud