From eb8b45f443380b496d82f1976a7203d6c7828db5 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Thu, 21 Nov 2013 12:11:01 +0100 Subject: [PATCH] maint: avoid perl warning in sc_check-AUTHORS With newer perl, "make syntax-check" issues many warnings like: -i used with no filenames on the command line, reading from STDIN. * cfg.mk (sc_check-AUTHORS): Remove the -i flag in the perl invocation as it is reading from a pipe. --- cfg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg.mk b/cfg.mk index ec91158f5a..788c351344 100644 --- a/cfg.mk +++ b/cfg.mk @@ -181,7 +181,7 @@ sc_check-AUTHORS: $(all_programs) exe='['; \ fi; \ LC_ALL=$$locale ./src/$$exe --version \ - | perl -0 -pi -e 's/,\n/, /gm' \ + | perl -0 -p -e 's/,\n/, /gm' \ | sed -n -e '/Written by /{ s//'"$$i"': /;' \ -e 's/,* and /, /; s/\.$$//; p; }'; \ done > $(au_actual) && \ -- 2.47.2