scripts: do not force locale when sorting samples
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Oct 16 21:48:10 2011 +0200 (2011-10-16)
changeset 2722ca0322db584f
parent 2721 7b64746b0ab3
child 2723 94e5cee905f2
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>
samples/samples.mk
     1.1 --- a/samples/samples.mk	Fri Oct 07 15:06:44 2011 +0200
     1.2 +++ b/samples/samples.mk	Sun Oct 16 21:48:10 2011 +0200
     1.3 @@ -5,10 +5,10 @@
     1.4  CT_TOP_SAMPLES := $(patsubst $(CT_TOP_DIR)/samples/%/crosstool.config,%,$(wildcard $(CT_TOP_DIR)/samples/*/crosstool.config))
     1.5  CT_LIB_SAMPLES := $(filter-out $(CT_TOP_SAMPLES),$(patsubst $(CT_LIB_DIR)/samples/%/crosstool.config,%,$(wildcard $(CT_LIB_DIR)/samples/*/crosstool.config)))
     1.6  CT_SAMPLES := $(shell echo $(sort $(CT_TOP_SAMPLES) $(CT_LIB_SAMPLES))  \
     1.7 -                      |$(sed) -r -e 's/ /\n/g;'                            \
     1.8 -                      |$(sed) -r -e 's/(.*),(.*)/\2,\1/;'                  \
     1.9 -                      |LC_ALL=C sort                                    \
    1.10 -                      |$(sed) -r -e 's/(.*),(.*)/\2,\1/;'                  \
    1.11 +                      |$(sed) -r -e 's/ /\n/g;'                         \
    1.12 +                      |$(sed) -r -e 's/(.*),(.*)/\2,\1/;'               \
    1.13 +                      |sort                                             \
    1.14 +                      |$(sed) -r -e 's/(.*),(.*)/\2,\1/;'               \
    1.15                 )
    1.16  
    1.17  # ----------------------------------------------------------