]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(ASSORT): New var.
authorJim Meyering <jim@meyering.net>
Fri, 15 Aug 2003 06:53:38 +0000 (06:53 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 15 Aug 2003 06:53:38 +0000 (06:53 +0000)
(all_programs): Use it.

tests/Makefile.am

index 77ddaa999563f7599680b94d0db998b6484f2543..6e89a5d3062a0dfc3c36bad322c7d6b4741e7590 100644 (file)
@@ -1,9 +1,14 @@
 ## Process this file with automake to produce Makefile.in -*-Makefile-*-.
 
+# Sort in traditional ASCII order, regardless of the current locale;
+# otherwise we may get into trouble with distinct strings that the
+# current locale considers to be equal.
+ASSORT = LC_ALL=C sort
+
 all_programs =                                                         \
   echo 'spy:;@echo $$(all_programs)'                                   \
     | MAKEFLAGS= $(MAKE) -s -C ../src -f Makefile -f - spy             \
-    | fmt -1 | sort -u
+    | fmt -1 | $(ASSORT) -u
 
 TESTS = help-version
 TESTS_ENVIRONMENT = \