From 3a416f87fe90191712582d624138c91edeca1ba3 Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 6 Aug 2001 20:48:54 +0000 Subject: 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 --- shells/tcsh/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shells') 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 -- cgit v1.2.3