Avoid PCRE syntax when using grep

Avoid PCRE syntax when using grep because some versions of grep don't
support that.
This commit is contained in:
Ryan Schmidt 2021-07-08 16:09:19 -05:00
parent 4d43f84188
commit 8f56421e5f
1 changed files with 1 additions and 1 deletions

View File

@ -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 "======================================================================================"; \