summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitus von Boxberg" <tvb377@gmx.de>2010-02-02 23:24:24 (GMT)
committerTitus von Boxberg" <tvb377@gmx.de>2010-02-02 23:24:24 (GMT)
commit174c0148eb882322389bcbba05c57ba816e71519 (patch)
treed2108826472171ab131ef612bb1549100526821c
parentbe877e74a698366269c7707e9bd450f587a811e7 (diff)
scripts/samples: use the computed '$(sed)', not 'sed'
(transplanted from 26974c3670fdb7f6896b196e08724f91f1a13059)
-rw-r--r--samples/samples.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/samples.mk b/samples/samples.mk
index a42ea40..6d30d5f 100644
--- a/samples/samples.mk
+++ b/samples/samples.mk
@@ -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/;' \
)
# ----------------------------------------------------------