]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: fix typo in check-AUTHORS rule
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 5 May 2009 05:13:46 +0000 (07:13 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 5 May 2009 06:52:03 +0000 (08:52 +0200)
* src/Makefile.am (check-AUTHORS): Set locale.

src/Makefile.am

index 136cadac957dbbb126288061c0e1332a20bc7337..3bed7b1af6f8432def1e68404da7d729db5ed66c 100644 (file)
@@ -388,8 +388,9 @@ au_dotdot = authors-dotdot
 au_actual = authors-actual
 .PHONY: check-AUTHORS
 check-AUTHORS: $(all_programs)
-       $(AM_V_GEN)LC_ALL="$$locale" ./cat --version    \
-           | grep ' Torbjorn '                         \
+       $(AM_V_GEN)locale=en_US.UTF-8;                  \
+       LC_ALL="$$locale" ./cat --version               \
+           | grep ' Torbjorn ' > /dev/null             \
          && { echo "$@: skipping this check"; exit 0; }; \
        rm -f $(au_actual) $(au_dotdot);                \
        for i in `ls $(all_programs) | sed -e 's,$(EXEEXT)$$,,' \