]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Tweak last patch to make it really work.
authorBruno Haible <bruno@clisp.org>
Thu, 13 Mar 2003 13:26:58 +0000 (13:26 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:15 +0000 (12:10 +0200)
gettext-tools/src/msggrep.c

index 81e1465778f77891d512cea54f9229ad3e6d68d9..8e56495834703fdf246e7c59ae354d542a5f0e49 100644 (file)
@@ -334,7 +334,8 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
         /usr/bin/grep, because /usr/bin/grep doesn't understand the options
         -q and -e.  */
 #if (defined (sun) || defined (__sun)) && defined (__SVR4)
-      if (strcmp (grep_path, "/usr/bin/grep") == 0
+      if ((strcmp (grep_path, "/usr/bin/grep") == 0
+          || strcmp (grep_path, "/bin/grep") == 0))
          && access ("/usr/xpg4/bin/grep", X_OK) == 0)
        grep_path = "/usr/xpg4/bin/grep";
 #endif