2013/5/1 Matthias Buecher / Germany <[email protected]>: >> - $(call FIND_L, $(SCAN_DIR)) $(SCAN_EXTRA) -mindepth 1 $(if >> $(SCAN_DEPTH),-maxdepth $(SCAN_DEPTH)) -name Makefile | xargs grep >> -HE 'call (Build/DefaultTargets|Build(Package|Target)|.+Package)' | >> sed -e 's#^$(SCAN_DIR)/##' -e 's#/Makefile:.*##' | uniq > $@ >> + $(call FIND_L, $(SCAN_DIR)) $(SCAN_EXTRA) -mindepth 1 $(if >> $(SCAN_DEPTH),-maxdepth $(SCAN_DEPTH)) -name Makefile | xargs grep >> -HE 'call (Build/DefaultTargets|Build(Package|Target)|.+Package)' | >> sed -e 's#^$(SCAN_DIR)/##' -e 's#/Makefile:.*##' | uniq | sort > $@ > > What about `sort -u` instead of `uniq | sort` ? >
Sorry for the delayed reply and thanks for comment. Will fix and send v2. -- BR, Sergey _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
