From: Bernhard Voelker Date: Thu, 21 Nov 2013 11:11:01 +0000 (+0100) Subject: maint: avoid perl warning in sc_check-AUTHORS X-Git-Tag: v8.22~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb8b45f443380b496d82f1976a7203d6c7828db5;p=thirdparty%2Fcoreutils.git 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. --- 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) && \