1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-25 10:16:53 +02:00

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.
This commit is contained in:
Bernhard Voelker
2013-11-21 12:11:01 +01:00
parent 2da7009d70
commit eb8b45f443
+1 -1
View File
@@ -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) && \