diff options
author | 1996-06-17 07:19:27 +0000 | |
---|---|---|
committer | 1996-06-17 07:19:27 +0000 | |
commit | 968655abc1677035bac50f4b618d6ef8570ca282 (patch) | |
tree | ac37c491deda1488884dbc2d5b83fb89565410a8 | |
parent | Switch over to generic opendev(3). (diff) | |
download | wireguard-openbsd-968655abc1677035bac50f4b618d6ef8570ca282.tar.xz wireguard-openbsd-968655abc1677035bac50f4b618d6ef8570ca282.zip |
create /usr/src if it does not exist (but mtree did chown which is bad
-rw-r--r-- | etc/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile index c615291c252..a8ef823c14b 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -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 LOCALTIME= US/Pacific @@ -127,6 +127,9 @@ hcx9-distribution: distrib-dirs: install -d -o root -g wheel -m 755 ${DESTDIR} -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 snapshot: distribution snap_pre snap_tar snap_md |