]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a ${CP} alias for copying files in the build.
authorwill <will@FreeBSD.org>
Fri, 16 Jan 2015 21:39:08 +0000 (21:39 +0000)
committerwill <will@FreeBSD.org>
Fri, 16 Jan 2015 21:39:08 +0000 (21:39 +0000)
commitafad9375d853b7b34e4256d1c3421d937b565c57
tree8a1af53c5feb7376262fc346729ffddd1a4b3c93
parent96da0c1c63a35ba3aca3a9ef55e32fde9bdf7964
Add a ${CP} alias for copying files in the build.

Some users build FreeBSD as non-root in Perforce workspaces.  By default,
Perforce sets files read-only unless they're explicitly being edited.
As a result, the -f argument must be used to cp in order to override the
read-only flag when copying source files to object directories.  Bare use of
'cp' should be avoided in the future.

Update all current users of 'cp' in the src tree.

Reviewed by: emaste
MFC after: 1 week
Sponsored by: Spectra Logic
18 files changed:
bin/csh/Makefile
etc/mail/Makefile
gnu/usr.bin/grep/Makefile
kerberos5/lib/libasn1/Makefile
kerberos5/lib/libgssapi_spnego/Makefile
kerberos5/lib/libhdb/Makefile
kerberos5/lib/libhx509/Makefile
lib/libc/Makefile
lib/libexpat/Makefile
lib/libunbound/Makefile
secure/lib/libcrypto/Makefile
share/mk/sys.mk
tools/regression/execve/Makefile
tools/test/dtrace/Makefile
usr.bin/grep/Makefile
usr.bin/lex/Makefile
usr.bin/make/Makefile
usr.sbin/mtree/Makefile