Commit bf9e3e57 authored by John Spencer's avatar John Spencer Committed by 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: default avatarJohn Spencer <maillist-linux@barfooze.de>
Acked-by: default avatarNamhyung Kim <namhyung@kernel.org>
Link: http://thread.gmane.org/gmane.linux.kernel.perf.user/1686Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 763122ad
...@@ -132,7 +132,7 @@ endef ...@@ -132,7 +132,7 @@ endef
# #
# Usage: bool-value = $(call is-absolute,path) # 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 # lookup
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment