From 8d4768c94d0fa9de545a6e1c370f9a6fae4cb3a7 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Tue, 3 Jan 2023 09:11:28 +0100 Subject: [PATCH] maint: avoid grep warning in sc_prohibit_test_minus_ao Newer grep(1) complains: $ make sc_prohibit_test_minus_ao /usr/bin/grep: warning: * at start of expression prohibit_test_minus_ao * cfg.mk (exclude_file_name_regexp--sc_prohibit_test_minus_ao): Fix expression inroduced in v8.24-120-g3205bb178, and narrow down the file pattern to the 'doc/' directory. --- cfg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg.mk b/cfg.mk index 179a51d1c5..9e9be6d329 100644 --- a/cfg.mk +++ b/cfg.mk @@ -863,7 +863,7 @@ exclude_file_name_regexp--sc_prohibit_always_true_header_tests = \ ^m4/stat-prog\.m4$$ exclude_file_name_regexp--sc_prohibit_fail_0 = \ (^.*/git-hooks/commit-msg|^tests/init\.sh|Makefile\.am|\.mk|.*\.texi)$$ -exclude_file_name_regexp--sc_prohibit_test_minus_ao = *\.texi$$ +exclude_file_name_regexp--sc_prohibit_test_minus_ao = doc/.*\.texi$$ exclude_file_name_regexp--sc_prohibit_atoi_atof = ^lib/euidaccess-stat\.c$$ # longlong.h is maintained elsewhere. -- 2.47.2