diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-17 07:19:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-17 07:19:28 +0000 |
commit | ddd2b95ac45eaa0bf93d16a9224006ea8be1b038 (patch) | |
tree | 829d138eb259e3304475422f78a0f368b42b7a5b /etc | |
parent | 8f5613ff537cf3ac99c1e03727ab23a360bd5568 (diff) |
create /usr/src if it does not exist (but mtree did chown which is bad
Diffstat (limited to 'etc')
-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 |