diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-09-06 18:52:56 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-09-06 18:52:56 +0000 |
commit | 0b006e0d1d0a793937d94c79a51b48b58379f211 (patch) | |
tree | 1c23863525e9967ec4082b3278a6e924d58a4bd7 /bin | |
parent | 0c52404ed4af04d0ad6d217dcfccea0defa0721d (diff) |
install relative symlinks, not absolute
Diffstat (limited to 'bin')
-rw-r--r-- | bin/chmod/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/chmod/Makefile b/bin/chmod/Makefile index 193e47d658b..e9303ec65b9 100644 --- a/bin/chmod/Makefile +++ b/bin/chmod/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2000/07/19 19:42:31 mickey Exp $ +# $OpenBSD: Makefile,v 1.7 2001/09/06 18:52:55 mickey Exp $ PROG= chmod CFLAGS+=-DSUPPORT_DOT @@ -8,8 +8,11 @@ LINKS= ${BINDIR}/chmod ${BINDIR}/chgrp \ # XXX compatibility afterinstall: - ln -fs /sbin/chown ${DESTDIR}/usr/sbin/chown - ln -fs ${BINDIR}/chgrp ${DESTDIR}/usr/sbin/chgrp - ln -fs ${BINDIR}/chmod ${DESTDIR}/usr/bin/chflags + (cd ${DESTDIR}/usr/sbin; \ + ln -sf ../../sbin/chown .; \ + ln -sf ../../bin/chgrp .) + (cd ${DESTDIR}/usr/bin; \ + ln -sf ../../bin/chmod chflags) + .include <bsd.prog.mk> |