Browse Source

Do not ignore mtree's exit value when updating via 4.4BSD.dist.

Use the -U flag instead of -u so mtree doesn't exit with non-zero
when fixing up existing permissions/owners.
OPENBSD_3_1
millert 23 years ago
parent
commit
5e40bb6830
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/Makefile

+ 2
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.151 2002/02/26 19:08:05 deraadt Exp $
# $OpenBSD: Makefile,v 1.152 2002/03/07 00:11:40 millert Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific
@ -245,7 +245,7 @@ distrib-dirs:
if [ ! -d ${DESTDIR}/. ]; then \
${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}; \
fi
-mtree -qdef mtree/4.4BSD.dist -p ${DESTDIR}/ -u
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; \
fi


Loading…
Cancel
Save