diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-08-07 07:58:28 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-08-07 07:58:28 +0000 |
commit | 1e48ead47ee3aa052ea1d7d267223f0de6c02b2f (patch) | |
tree | 08207c0b8f0a5b28845e738545c9f91d4ee47e0e /shells/osh/Makefile | |
parent | d526191223fa50016717515a84de2e8b56a107d2 (diff) |
Notes
Diffstat (limited to 'shells/osh/Makefile')
-rw-r--r-- | shells/osh/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shells/osh/Makefile b/shells/osh/Makefile index f79daa1123c1..c4425cc18cde 100644 --- a/shells/osh/Makefile +++ b/shells/osh/Makefile @@ -16,10 +16,10 @@ COMMENT= An implementation of the UNIX 6th Edition shell MAN1= fd2.1 goto.1 if.1 osh.1 post-install: - @${ECHO_MSG} "updating /etc/shells" - @${CP} /etc/shells /etc/shells.bak - @(${GREP} -v ${PREFIX}/bin/osh /etc/shells.bak; \ - ${ECHO_CMD} ${PREFIX}/bin/osh) > /etc/shells - @${RM} /etc/shells.bak + @${ECHO_MSG} "updating ${DESTDIR}/etc/shells" + @${CP} ${DESTDIR}/etc/shells ${DESTDIR}/etc/shells.bak + @(${GREP} -v ${PREFIX}/bin/osh ${DESTDIR}/etc/shells.bak; \ + ${ECHO_CMD} ${PREFIX}/bin/osh) > ${DESTDIR}/etc/shells + @${RM} ${DESTDIR}/etc/shells.bak .include <bsd.port.mk> |