From 1538a9ff5c9e064fd5ac224b58da52b3bb2c6844 Mon Sep 17 00:00:00 2001 From: Jeff Makey Date: Sat, 30 Dec 2023 16:13:13 -0800 Subject: [PATCH] Use configured EGREP variable to correctly choose "egrep" or "grep -E". --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ee8a3f24fa..a7738734f6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -69,7 +69,7 @@ dist-hook: find $(distdir) -type f \( -name config.log -o -name config.status \) -exec rm -f {} \; find $(distdir) -type d \( -name .deps -o -name autom4te.cache \) -prune -exec rm -rf {} \; missing=0 ; \ - for file in `git ls-files | egrep -v '^\.git(hub/|ignore)'` ; do \ + for file in `git ls-files | $(EGREP) -v '^\.git(hub/|ignore)'` ; do \ if test ! -e $(distdir)/$$file ; then \ missing=1 ; \ echo "MISSING FROM DIST: $$file" ; \