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:
parent
4d43f84188
commit
8f56421e5f
|
@ -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 "======================================================================================"; \
|
||||
|
|
Loading…
Reference in New Issue