Browse Source

chdir to ${DESTDIR}/ to create sys -> usr/src/sys link.

This avoids creating of incorrect symlink ${HOME}/sys -> usr/src/sys when
DESTDIR="".
OPENBSD_2_5
form 26 years ago
parent
commit
ca72058365
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/Makefile

+ 2
- 2
src/etc/Makefile View File

@ -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:


Loading…
Cancel
Save