mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-18 20:37:56 +00:00
scripts/samples: use the computed '$(sed)', not 'sed'
(transplanted from 26974c3670fdb7f6896b196e08724f91f1a13059)
This commit is contained in:
parent
be877e74a6
commit
174c0148eb
@ -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/;' \
|
||||
|$(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/(.*),(.*)/\2,\1/;' \
|
||||
)
|
||||
|
||||
# ----------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user