summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2013-11-21 12:11:01 +0100
committerBernhard Voelker <mail@bernhard-voelker.de>2013-11-21 12:11:01 +0100
commiteb8b45f443380b496d82f1976a7203d6c7828db5 (patch)
tree30c74d54f43520c51b871d67cd3fcb76376599eb
parent2da7009d70693d830393021f2751729d06ce5551 (diff)
downloadcoreutils-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.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index ec91158f5..788c35134 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) && \