diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-09-27 16:27:24 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-09-27 16:27:24 +0000 |
commit | af458bf93bd13358db572577dfd3845e1c845f44 (patch) | |
tree | f7db4deaefcc3b00d4c2c2a819c667428352c41c /include/Makefile | |
parent | 0626736c105a008c1da3d4379443cdb4d0e27054 (diff) |
use xargs -r0 for our build process
Diffstat (limited to 'include/Makefile')
-rw-r--r-- | include/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/Makefile b/include/Makefile index 31d7a62d2a2..6b12c219e23 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.135 2005/07/10 06:53:44 grange Exp $ +# $OpenBSD: Makefile,v 1.136 2005/09/27 16:27:22 deraadt Exp $ # $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $ # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 @@ -116,10 +116,10 @@ includes: ln -s machine/$$i ${DESTDIR}/usr/include/$$i; \ done chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include - find ${DESTDIR}/usr/include -type f | \ - xargs chmod a=r - find ${DESTDIR}/usr/include -type d | \ - xargs chmod u=rwx,go=rx + find ${DESTDIR}/usr/include -type f -print0 | \ + xargs -0r chmod a=r + find ${DESTDIR}/usr/include -type d -print0 | \ + xargs -0r chmod u=rwx,go=rx @for i in ${RDIRS}; do \ echo installing in ${.CURDIR}/$$i; \ cd ${.CURDIR}/$$i && ${MAKE} includes; \ |