grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v2.27-7-geec6ab3


From: Jim Meyering
Subject: grep branch, master, updated. v2.27-7-geec6ab3
Date: Wed, 14 Dec 2016 01:59:36 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  eec6ab399159b8c3caec722d956531a4e799a84c (commit)
      from  84d6ae06c287eb4b7254fa85d6b771fd8b4dffc4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=eec6ab399159b8c3caec722d956531a4e799a84c


commit eec6ab399159b8c3caec722d956531a4e799a84c
Author: Jim Meyering <address@hidden>
Date:   Mon Dec 5 04:15:24 2016 -0800

    tests: use just-built grep in more places
    
    * cfg.mk (PATH): Prepend $(srcdir)/src, so that we use the just-
    built grep also when running commands like those of "make distcheck".
    This would have avoided the recently-luckily-noticed infloop bug.
    Tested by running this in a just-built directory:
    f=src/grep; printf '%s\n' '#!/bin/sh' 'sleep 9h' > $f; chmod a+x $f
    and then verifying that nearly every "make syntax-check" rule hangs.

diff --git a/cfg.mk b/cfg.mk
index aa4ea85..43205a6 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -14,6 +14,11 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+# Cause the tool(s) built by this package to be used also when running
+# commands via e.g., "make syntax-check".  Doing this a little sooner
+# would have avoided a grep infloop bug.
+export PATH := $(srcdir)/src:${PATH}
+
 # Used in maint.mk's web-manual rule
 manual_title = GNU Grep: Print lines matching a pattern
 

-----------------------------------------------------------------------

Summary of changes:
 cfg.mk |    5 +++++
 1 file changed, 5 insertions(+)


hooks/post-receive
-- 
grep



reply via email to

[Prev in Thread] Current Thread [Next in Thread]