summaryrefslogtreecommitdiff
path: root/shells/tcsh
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-08-06 20:48:54 +0000
committeragc <agc@pkgsrc.org>2001-08-06 20:48:54 +0000
commit3a416f87fe90191712582d624138c91edeca1ba3 (patch)
tree802fe8456e191c7bbe6b528eaacddc065642bd63 /shells/tcsh
parenta795ccc8e2718b9daa85057fb6dd6cc0c659491f (diff)
downloadpkgsrc-3a416f87fe90191712582d624138c91edeca1ba3.tar.gz
Be sure to match the whole line when creating the /etc/shells entry, so
that grep -v /bin/tcsh does not match ${LOCALBASE}/bin/tcsh
Diffstat (limited to 'shells/tcsh')
-rw-r--r--shells/tcsh/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile
index 019152e941b..6b5344a3b88 100644
--- a/shells/tcsh/Makefile
+++ b/shells/tcsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2001/08/06 15:37:37 abs Exp $
+# $NetBSD: Makefile,v 1.26 2001/08/06 20:48:54 agc Exp $
#
DISTNAME= tcsh-6.10
@@ -78,7 +78,7 @@ post-install:
TCSHPATH=${PREFIX}/bin/tcsh; \
fi; \
( \
- ${GREP} -v $${TCSHPATH} /etc/shells.bak; \
+ ${GREP} -v '^$${TCSHPATH}$$' /etc/shells.bak; \
${ECHO} $${TCSHPATH} \
) >/etc/shells