diff options
author | Jean-Sébastien Pédron <[email protected]> | 2016-11-23 17:59:25 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-11-25 19:33:49 +0100 |
commit | 5b67a3220b9fcc50a23064b52d3d328ac5e139f7 (patch) | |
tree | 1fb2e6ac0a0a815a5d71e8dad3e27ecc90a0f34f /Makefile | |
parent | 14b92a1ac83a2c0bc1c98014d65bb90bc2e1efb2 (diff) | |
download | erlang.mk-5b67a3220b9fcc50a23064b52d3d328ac5e139f7.tar.gz erlang.mk-5b67a3220b9fcc50a23064b52d3d328ac5e139f7.tar.bz2 erlang.mk-5b67a3220b9fcc50a23064b52d3d328ac5e139f7.zip |
Makefile: Set LC_COLLATE=C when building erlang.mk
When the index files are concatenated, (`index/*` in `build.config`),
their order is related to the collation locale used by the shell. By
explicitely setting this to the C locale, we make sure that the order is
consistent, no matter the user's locale.
It is especially useful in teams where users and systems have different
locales.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -21,6 +21,7 @@ ERLANG_MK_VERSION = $(shell git describe --tags --dirty) .PHONY: all check all: + export LC_COLLATE=C; \ awk 'FNR==1 && NR!=1{print ""}1' $(patsubst %,%.mk,$(BUILD_CONFIG)) \ | sed 's/^ERLANG_MK_VERSION = .*/ERLANG_MK_VERSION = $(ERLANG_MK_VERSION)/' > $(ERLANG_MK) |