From: Jim Meyering Date: Fri, 15 Aug 2003 06:53:38 +0000 (+0000) Subject: (ASSORT): New var. X-Git-Tag: v5.0.91~204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2faafb85123a032357c4a01678feb9f65bbdcb52;p=thirdparty%2Fcoreutils.git (ASSORT): New var. (all_programs): Use it. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 77ddaa9995..6e89a5d306 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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 = \