summaryrefslogtreecommitdiff
path: root/tools/Makefile.in
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-02-25 21:18:05 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2021-03-02 22:54:40 +0100
commit824230e1e27c285eff98cec7497ef9474ceb4ddd (patch)
tree67e34e5b96eb1bce35f98485250cea3098f847ad /tools/Makefile.in
parent9d190d6b4678f42de3285f7291caeec2f4a91cdb (diff)
downloadlvm2-824230e1e27c285eff98cec7497ef9474ceb4ddd.tar.gz
makefiles: avoid sorting by locales
Localized sort for building source file is not wanted.
Diffstat (limited to 'tools/Makefile.in')
-rw-r--r--tools/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in
index b26bc64a6..dce85726b 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -182,7 +182,7 @@ cmds.h: $(srcdir)/command-lines.in Makefile
( cat $(top_srcdir)/tools/license.inc && \
echo "/* Do not edit. This file is generated by the Makefile. */" && \
echo "cmd(CMD_NONE, none)" && \
- $(GREP) '^ID:' $(srcdir)/command-lines.in | $(SORT) -u | $(AWK) '{print "cmd(" $$2 "_CMD, " $$2 ")"}' && \
+ $(GREP) '^ID:' $(srcdir)/command-lines.in | LANG=C $(SORT) -u | $(AWK) '{print "cmd(" $$2 "_CMD, " $$2 ")"}' && \
echo "cmd(CMD_COUNT, count)" \
) > $@