mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Acked-by: Namhyung Kim <[email protected]> Link: http://thread.gmane.org/gmane.linux.kernel.perf.user/1686 Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
parent
763122ade7
commit
bf9e3e5763
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue