From: millert Date: Thu, 23 Jan 1997 03:41:24 +0000 (+0000) Subject: Don't mess with /usr/src if it already exists. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e50054b37e95135140824e8648a4eea1da3f64b1;p=openbsd Don't mess with /usr/src if it already exists. --- diff --git a/etc/Makefile b/etc/Makefile index 5743ee16ece..758950ceba9 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.37 1997/01/22 11:13:53 niklas Exp $ +# $OpenBSD: Makefile,v 1.38 1997/01/23 03:41:24 millert Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= US/Pacific @@ -168,7 +168,7 @@ 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 \ + if [ ! -d ${DESTDIR}/usr/src ]; then \ ${INSTALL} -d -o root -g wsrc -m 775 ${DESTDIR}/usr/src; \ fi cd ${DESTDIR}; rm -f sys; ln -s usr/src/sys sys