Browse Source

create /usr/src if it does not exist (but mtree did chown which is bad

OPENBSD_2_0
deraadt 28 years ago
parent
commit
1a5ce47b55
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/etc/Makefile

+ 4
- 1
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.15 1996/06/16 12:57:30 deraadt Exp $
# $OpenBSD: Makefile,v 1.16 1996/06/17 07:19:27 deraadt Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific LOCALTIME= US/Pacific
@ -127,6 +127,9 @@ hcx9-distribution:
distrib-dirs: distrib-dirs:
install -d -o root -g wheel -m 755 ${DESTDIR} install -d -o root -g wheel -m 755 ${DESTDIR}
-mtree -def mtree/4.4BSD.dist -p ${DESTDIR}/ -u -mtree -def mtree/4.4BSD.dist -p ${DESTDIR}/ -u
if [ ! -f ${DESTDIR}/usr/src ]; then \
install -d -o root -g wheel -m 755 ${DESTDIR}/usr/src \
fi
cd ${DESTDIR}; rm -f sys; ln -s usr/src/sys sys cd ${DESTDIR}; rm -f sys; ln -s usr/src/sys sys
snapshot: distribution snap_pre snap_tar snap_md snapshot: distribution snap_pre snap_tar snap_md


Loading…
Cancel
Save