Browse Source

if ${DESTDIR} exists, do not modify the mode

OPENBSD_3_1
deraadt 23 years ago
parent
commit
3c40fbd25d
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/etc/Makefile

+ 4
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.150 2002/02/16 01:20:42 deraadt Exp $
# $OpenBSD: Makefile,v 1.151 2002/02/26 19:08:05 deraadt Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific
@ -242,7 +242,9 @@ distribution: distribution-etc-root-var
(cd ..; ${MAKE} install)
distrib-dirs:
${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}
if [ ! -d ${DESTDIR}/. ]; then \
${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}; \
fi
-mtree -qdef mtree/4.4BSD.dist -p ${DESTDIR}/ -u
if [ ! -d ${DESTDIR}/usr/src ]; then \
${INSTALL} -d -o root -g wsrc -m 775 ${DESTDIR}/usr/src; \


Loading…
Cancel
Save