summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-05-24 16:25:41 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-05-24 16:25:41 +0000
commit6ac284c9172d5e7c3db11169501fd165161bd0f6 (patch)
tree7dd002f365c6b3d9d684158fd2c57fbed941be81
parentUpdate maintainer address (diff)
Correct regular expression to be more strict.
Reported by: Gregory O <Go@GregoryO.com>
Notes
Notes: svn path=/head/; revision=59911
-rw-r--r--x11/gnome2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/gnome2/Makefile b/x11/gnome2/Makefile
index 5f9b3c8cc0cb..cbba06d65360 100644
--- a/x11/gnome2/Makefile
+++ b/x11/gnome2/Makefile
@@ -46,7 +46,7 @@ GNOME_ONE_DESKTOP= gnomecore gnomeapplets gnomemedia gnomeutils \
pre-everything::
@for package in ${GNOME_ONE_DESKTOP}; do \
- if ${PKG_INFO} | ${GREP} $$package"-[0-9]" >/dev/null 2>&1; then \
+ if ${PKG_INFO} | ${GREP} "^$$package-[0-9]" >/dev/null 2>&1; then \
${ECHO_MSG} "$$package was detected on the system. This package is part of the GNOME 1.x"; \
${ECHO_MSG} "desktop, and cannot coexist with the GNOME 2.0 desktop."; \
${ECHO_MSG} ""; \