summaryrefslogtreecommitdiff
path: root/shells/osh
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-08-04 11:41:30 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-08-04 11:41:30 +0000
commit42542fb07642b8336e808272918f3ae46aa67e0b (patch)
tree98ff235c33c6493aa26457284f122652c38935f7 /shells/osh
parent- Extract command variable definitions from bsd.port.mk, they are now stored in (diff)
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav)
Notes
Notes: svn path=/head/; revision=197075
Diffstat (limited to 'shells/osh')
-rw-r--r--shells/osh/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/shells/osh/Makefile b/shells/osh/Makefile
index 92db7c3e63a6..7345dec3754e 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 sh6.1 glob6.1
post-install:
- @${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
+ @${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
.include <bsd.port.mk>