[eog-plugins] Use a more portable grep construct.



commit 5076859fb215d77514c6cde826407960f6a23130
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Wed Oct 3 13:30:55 2012 +0200

    Use a more portable grep construct.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685356

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 557e43b..429dd93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -174,7 +174,7 @@ disabled_plugins=
 # *******************
 
 check_plugin_defined() {
-	if echo "$2" | egrep "\b($1)\b" > /dev/null;
+	if echo "$2" | grep -w "$1" > /dev/null;
 	then
 		return 1
 	else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]