Commit-ID: bf9e3e5763722c9668c6719a1de60ee58452b738 Gitweb: http://git.kernel.org/tip/bf9e3e5763722c9668c6719a1de60ee58452b738 Author: John Spencer <maillist-linux@xxxxxxxxxxx> AuthorDate: Mon, 25 Aug 2014 21:36:32 +0200 Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> CommitDate: Wed, 17 Sep 2014 17:08:09 -0300 perf tools: Fix GNU-only grep usage in Makefile This makes it work with non-GNU grep's as well. Signed-off-by: John Spencer <maillist-linux@xxxxxxxxxxx> Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx> Link: http://thread.gmane.org/gmane.linux.kernel.perf.user/1686 Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> --- tools/perf/config/utilities.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/config/utilities.mak b/tools/perf/config/utilities.mak index 4d985e0..7076a62 100644 --- a/tools/perf/config/utilities.mak +++ b/tools/perf/config/utilities.mak @@ -132,7 +132,7 @@ endef # # Usage: bool-value = $(call is-absolute,path) # -is-absolute = $(shell echo $(shell-sq) | grep ^/ -q && echo y) +is-absolute = $(shell echo $(shell-sq) | grep -q ^/ && echo y) # lookup # -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |