From a311f49eda4488217023cd08ac5d099ecf6d58e8 Mon Sep 17 00:00:00 2001 From: David Adam Date: Sat, 19 Aug 2017 22:38:12 +0800 Subject: [PATCH] Makefile: improve build reproducibilty by using LC_ALL=C in sort Based on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791648 --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 898729616..4cd02b8c6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -397,7 +397,7 @@ test_interactive: $(call filter_up_to,test_interactive,$(active_test_goals)) doc_src/commands.hdr:$(HELP_SRC) doc_src/commands.hdr.in | @echo " CAT AWK $(em)$@$(sgr0)" $v rm -f command_list.tmp command_list_toc.tmp $@ - $v for i in $(sort $(HELP_SRC)); do \ + $v for i in `printf "%s\n" $(HELP_SRC) | LC_ALL=C.UTF-8 sort`; do \ echo "
" >>command_list.tmp; \ cat $$i >>command_list.tmp; \ echo >>command_list.tmp; \