diff options
author | will <will@FreeBSD.org> | 2014-09-18 14:41:57 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2014-09-18 14:41:57 +0000 |
commit | 8fbdaa50eadab69ef1db450a95198973f693f629 (patch) | |
tree | c6bee08342bef09d8f3a5f01846ae706f5bd259e /usr.sbin/mtree | |
parent | 0917a065ca1381c4aa57563ea3ebf5092d237a14 (diff) | |
download | FreeBSD-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 'usr.sbin/mtree')
-rw-r--r-- | usr.sbin/mtree/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mtree/Makefile b/usr.sbin/mtree/Makefile index e73815a..1ceb52e 100644 --- a/usr.sbin/mtree/Makefile +++ b/usr.sbin/mtree/Makefile @@ -17,6 +17,6 @@ LDADD= -lmd CLEANFILES+= fmtree.8 fmtree.8: mtree.8 - cp ${.ALLSRC} ${.TARGET} + cp -f ${.ALLSRC} ${.TARGET} .include <bsd.prog.mk> |