From 8f56421e5fc4eff1142a6294b22a06a8de9b7a40 Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Thu, 8 Jul 2021 16:09:19 -0500 Subject: [PATCH] Avoid PCRE syntax when using grep Avoid PCRE syntax when using grep because some versions of grep don't support that. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index e10b710..1ef3669 100644 --- a/Makefile.am +++ b/Makefile.am @@ -174,7 +174,7 @@ debuild-dirs: distdir DISTCHECK_CONFIGURE_FLAGS = check-versions: - @$(GREP) -e '^\s*version\s*:\s*.'$(VERSION)'.,' $(srcdir)/meson.build >/dev/null || { \ + @$(GREP) -e "^[[:space:]]*version[[:space:]]*:[[:space:]]*'$(VERSION)'," $(srcdir)/meson.build >/dev/null || { \ echo "======================================================================================"; \ echo "Meson version does not seem to match autotools version $(VERSION), update meson.build!"; \ echo "======================================================================================"; \