From c3273e93c09ce16254a488297ecbfd59392e432e Mon Sep 17 00:00:00 2001 From: Oleg Safiullin Date: Tue, 1 Dec 1998 04:33:28 +0000 Subject: chdir to ${DESTDIR}/ to create sys -> usr/src/sys link. This avoids creating of incorrect symlink ${HOME}/sys -> usr/src/sys when DESTDIR="". --- etc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index 6c9fe26a518..8a48102aa8c 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.93 1998/10/30 18:44:47 millert Exp $ +# $OpenBSD: Makefile,v 1.94 1998/12/01 04:33:27 form Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= US/Pacific @@ -211,7 +211,7 @@ distrib-dirs: 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 + cd ${DESTDIR}/; rm -f sys; ln -s usr/src/sys sys .ifndef RELEASEDIR release: -- cgit v1.2.3