mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 06:07:49 +00:00
scripts: do not force locale when sorting samples
Just use whatever the user has set in his/her environment. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
0c06bd8cae
commit
3032eb0e9c
@ -5,10 +5,10 @@
|
||||
CT_TOP_SAMPLES := $(patsubst $(CT_TOP_DIR)/samples/%/crosstool.config,%,$(wildcard $(CT_TOP_DIR)/samples/*/crosstool.config))
|
||||
CT_LIB_SAMPLES := $(filter-out $(CT_TOP_SAMPLES),$(patsubst $(CT_LIB_DIR)/samples/%/crosstool.config,%,$(wildcard $(CT_LIB_DIR)/samples/*/crosstool.config)))
|
||||
CT_SAMPLES := $(shell echo $(sort $(CT_TOP_SAMPLES) $(CT_LIB_SAMPLES)) \
|
||||
|$(sed) -r -e 's/ /\n/g;' \
|
||||
|$(sed) -r -e 's/(.*),(.*)/\2,\1/;' \
|
||||
|LC_ALL=C sort \
|
||||
|$(sed) -r -e 's/(.*),(.*)/\2,\1/;' \
|
||||
|$(sed) -r -e 's/ /\n/g;' \
|
||||
|$(sed) -r -e 's/(.*),(.*)/\2,\1/;' \
|
||||
|sort \
|
||||
|$(sed) -r -e 's/(.*),(.*)/\2,\1/;' \
|
||||
)
|
||||
|
||||
# ----------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user