]> sourceware.org Git - lvm2.git/commitdiff
makefiles: avoid sorting by locales
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 25 Feb 2021 20:18:05 +0000 (21:18 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 2 Mar 2021 21:54:40 +0000 (22:54 +0100)
Localized sort for building source file is not wanted.

tools/Makefile.in

index b26bc64a6bbd85e797a37de4f4dece9e7cedb9c5..dce85726b5aa41f2a69b54777bd9fc49f86e78eb 100644 (file)
@@ -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)" \
        ) > $@
 
This page took 0.036378 seconds and 5 git commands to generate.