UNPRIVILEGED->UNPRIVED
This commit is contained in:
parent
b06530cff1
commit
2d02e3afad
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.191 2001/11/13 17:14:27 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.192 2001/11/19 05:05:06 perry Exp $
|
||||
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
|
||||
|
||||
# Environment variables without default values:
|
||||
@ -277,7 +277,7 @@ distribution: distrib-dirs
|
||||
|
||||
distrib-dirs:
|
||||
${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${DESTDIR}
|
||||
${MTREE} -def mtree/NetBSD.dist -p ${DESTDIR}/ -U ${UNPRIVILEGED:D-W}
|
||||
${MTREE} -def mtree/NetBSD.dist -p ${DESTDIR}/ -U ${UNPRIVED:D-W}
|
||||
rm -f ${DESTDIR}/sys
|
||||
${INSTALL} ${INSTPRIV} -l s -o root -g wheel -m 755 \
|
||||
usr/src/sys ${DESTDIR}/sys
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.24 2001/08/06 15:56:08 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.25 2001/11/19 05:06:50 perry Exp $
|
||||
|
||||
# for OBJECT_FMT, UNPRIVILEGED
|
||||
# for OBJECT_FMT, UNPRIVED
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if !defined(USE_NEW_TOOLCHAIN)
|
||||
@ -147,7 +147,7 @@ ldemul-list.h: Makefile
|
||||
afterinstall:
|
||||
.if ${MKSHARE} != "no"
|
||||
(cd ldscripts ; pax -rw . ${DESTDIR}${SCRIPTDIR})
|
||||
.if !defined(UNPRIVILEGED)
|
||||
.if !defined(UNPRIVED)
|
||||
chown -R ${BINOWN}:${BINGRP} ${DESTDIR}${SCRIPTDIR}
|
||||
.endif
|
||||
find ${DESTDIR}${SCRIPTDIR} -type f | xargs chmod a=rX
|
||||
|
Loading…
Reference in New Issue
Block a user