scripts/samples: use the computed '$(sed)', not 'sed'

(transplanted from 26974c3670fdb7f6896b196e08724f91f1a13059)
This commit is contained in:
Titus von Boxberg" 2010-02-03 00:24:24 +01:00
parent be877e74a6
commit 174c0148eb

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