提交 bf9e3e57 编写于 作者: J John Spencer 提交者: Arnaldo Carvalho de Melo

perf tools: Fix GNU-only grep usage in Makefile

This makes it work with non-GNU grep's as well.
Signed-off-by: NJohn Spencer <maillist-linux@barfooze.de>
Acked-by: NNamhyung Kim <namhyung@kernel.org>
Link: http://thread.gmane.org/gmane.linux.kernel.perf.user/1686Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 763122ad
......@@ -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
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册