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:
Yann E. MORIN" 2011-10-16 21:48:10 +02:00
parent 0c06bd8cae
commit 3032eb0e9c

View File

@ -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/;' \
)
# ----------------------------------------------------------