summaryrefslogtreecommitdiff
path: root/shells/tcsh/Makefile
diff options
context:
space:
mode:
authoragc <agc>2001-08-06 20:48:54 +0000
committeragc <agc>2001-08-06 20:48:54 +0000
commitbaa502220b6b0ba37f4f94542db2ed9c644ac7cd (patch)
tree802fe8456e191c7bbe6b528eaacddc065642bd63 /shells/tcsh/Makefile
parentba4fc4077d4cab4eae7b0d51b080e81413caba4b (diff)
downloadpkgsrc-baa502220b6b0ba37f4f94542db2ed9c644ac7cd.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/Makefile')
-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