[PATCH] Fix regexp for development.exp

Andreas Schwab schwab@linux-m68k.org
Sat Nov 7 20:37:33 GMT 2020


binutils/:
	* Makefile.am (development.exp): Fix regexp.
	* Makefile.in: Regenerate.
gas/:
	* Makefile.am (development.exp): Fix regexp.
	* Makefile.in: Regenerate.
ld/:
	* Makefile.am (development.exp): Fix regexp.
	* Makefile.in: Regenerate.
---
 binutils/Makefile.am | 2 +-
 binutils/Makefile.in | 2 +-
 gas/Makefile.am      | 2 +-
 gas/Makefile.in      | 2 +-
 ld/Makefile.am       | 2 +-
 ld/Makefile.in       | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 24f8423ebc..e2f9e5cb57 100644
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -213,7 +213,7 @@ check-DEJAGNU: site.exp
 	fi
 
 development.exp: $(BFDDIR)/development.sh
-	$(EGREP) "[development|experimental]=" $(BFDDIR)/development.sh  \
+	$(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh  \
 	  | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@
 
 installcheck-local:
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index fee05dfa84..32f2e20375 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -1448,7 +1448,7 @@ check-DEJAGNU: site.exp
 	fi
 
 development.exp: $(BFDDIR)/development.sh
-	$(EGREP) "[development|experimental]=" $(BFDDIR)/development.sh  \
+	$(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh  \
 	  | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@
 
 installcheck-local:
diff --git a/gas/Makefile.am b/gas/Makefile.am
index 4ff0c4f027..9db77d6a9a 100644
--- a/gas/Makefile.am
+++ b/gas/Makefile.am
@@ -434,7 +434,7 @@ check-DEJAGNU: site.exp
 	fi
 
 development.exp: $(BFDDIR)/development.sh
-	$(EGREP) "[development|experimental]=" $(BFDDIR)/development.sh  \
+	$(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh  \
 	  | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@
 
 # The m68k operand parser.
diff --git a/gas/Makefile.in b/gas/Makefile.in
index 5d241e2df8..2a8fdbff1d 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -1570,7 +1570,7 @@ check-DEJAGNU: site.exp
 	fi
 
 development.exp: $(BFDDIR)/development.sh
-	$(EGREP) "[development|experimental]=" $(BFDDIR)/development.sh  \
+	$(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh  \
 	  | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@
 
 # If m68k-parse.y is in a different directory, then ylwrap will use an
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 41db0c6016..c9f85e5292 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -974,7 +974,7 @@ check-DEJAGNU: site.exp
 	fi
 
 development.exp: $(BFDDIR)/development.sh
-	$(EGREP) "[development|experimental]=" $(BFDDIR)/development.sh  \
+	$(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh  \
 	  | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@
 
 enablings.exp:
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 712e3f4480..e5eea3886c 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -2551,7 +2551,7 @@ check-DEJAGNU: site.exp
 	fi
 
 development.exp: $(BFDDIR)/development.sh
-	$(EGREP) "[development|experimental]=" $(BFDDIR)/development.sh  \
+	$(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh  \
 	  | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@
 
 enablings.exp:
-- 
2.29.2

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Binutils mailing list