diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2013-11-21 12:11:01 +0100 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2013-11-21 12:11:01 +0100 |
commit | eb8b45f443380b496d82f1976a7203d6c7828db5 (patch) | |
tree | 30c74d54f43520c51b871d67cd3fcb76376599eb | |
parent | 2da7009d70693d830393021f2751729d06ce5551 (diff) | |
download | coreutils-eb8b45f443380b496d82f1976a7203d6c7828db5.tar.xz |
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.
-rw-r--r-- | cfg.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) && \ |