summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-06-17 07:19:27 +0000
committerderaadt <deraadt@openbsd.org>1996-06-17 07:19:27 +0000
commit968655abc1677035bac50f4b618d6ef8570ca282 (patch)
treeac37c491deda1488884dbc2d5b83fb89565410a8
parentSwitch over to generic opendev(3). (diff)
downloadwireguard-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/Makefile5
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