summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2009-05-05 07:13:46 +0200
committerJim Meyering <meyering@redhat.com>2009-05-05 08:52:03 +0200
commit1d02be3b9ddac1fa51e91bc46bc736603bd615d7 (patch)
tree6d01bc9c00a54466328d69b76836331125c801b9 /src
parent3a9072079c773acb9b5b3f9891e39195a4161c70 (diff)
downloadcoreutils-1d02be3b9ddac1fa51e91bc46bc736603bd615d7.tar.xz
tests: fix typo in check-AUTHORS rule
* src/Makefile.am (check-AUTHORS): Set locale.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 136cadac9..3bed7b1af 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -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)$$,,' \