summaryrefslogtreecommitdiffstats
path: root/bin/csh
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2014-09-18 14:41:57 +0000
committerwill <will@FreeBSD.org>2014-09-18 14:41:57 +0000
commit8fbdaa50eadab69ef1db450a95198973f693f629 (patch)
treec6bee08342bef09d8f3a5f01846ae706f5bd259e /bin/csh
parent0917a065ca1381c4aa57563ea3ebf5092d237a14 (diff)
downloadFreeBSD-src-8fbdaa50eadab69ef1db450a95198973f693f629.zip
FreeBSD-src-8fbdaa50eadab69ef1db450a95198973f693f629.tar.gz
Fix incremental builds involving non-root users with read-only source files.
Makefiles should not assume that source files can be overwritten. This is the common case for Perforce source trees. This is a followup commit to r211243 in the same vein. MFC after: 1 month Sponsored by: Spectra Logic MFSpectraBSD: r1036319 on 2014/01/29, r1046711 on 2014/03/06
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 9f305b4..fd34524 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -94,7 +94,7 @@ GENHDRS+= iconv.h
SRCS+= iconv_stub.c
iconv.h: ${.CURDIR}/iconv_stub.h
- cp ${.CURDIR}/iconv_stub.h ${.TARGET}
+ cp -f ${.CURDIR}/iconv_stub.h ${.TARGET}
.endif
.endif
OpenPOWER on IntegriCloud