epsilon-devel
[Top][All Lists]
Advanced

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

[PATCH 1/7] Port bootstrap.conf BREs to POSIX


From: Paul Eggert
Subject: [PATCH 1/7] Port bootstrap.conf BREs to POSIX
Date: Thu, 26 Jan 2023 14:17:32 -0800

* bootstrap.conf: Stick to POSIX BREs when calling grep,
instead of relying on the GNU extensions \> and \].
This fixes ./bootstrap diagnostics like “grep: warning: stray
\ before ]” that I got with an experimental version of grep
that checks for POSIX conformance.
---
 bootstrap.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index 7266f7b..82eb1a7 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -160,9 +160,9 @@ XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
 # you're using this infrastructure, you should care about such things.
 
 gettext_external=0
-grep '^[        ]*AM_GNU_GETTEXT(external\>' configure.ac > /dev/null &&
+grep '^[        ]*AM_GNU_GETTEXT(external[,)]' configure.ac > /dev/null &&
   gettext_external=1
-grep '^[        ]*AM_GNU_GETTEXT(\[external\]' configure.ac > /dev/null &&
+grep '^[        ]*AM_GNU_GETTEXT(\[external]' configure.ac > /dev/null &&
   gettext_external=1
 
 if test $gettext_external = 1; then
-- 
2.39.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]