diff options
author | John Spencer <maillist-linux@barfooze.de> | 2014-08-25 21:36:32 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-09-17 17:08:09 -0300 |
commit | bf9e3e5763722c9668c6719a1de60ee58452b738 (patch) | |
tree | c1d88269ac8490b77168ea0a02ce160d6a9f267b /tools | |
parent | 763122ade725592402190f5ff3b8d2edf42b87e8 (diff) | |
download | linux-bf9e3e5763722c9668c6719a1de60ee58452b738.tar.gz linux-bf9e3e5763722c9668c6719a1de60ee58452b738.tar.bz2 linux-bf9e3e5763722c9668c6719a1de60ee58452b738.zip |
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@barfooze.de>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Link: http://thread.gmane.org/gmane.linux.kernel.perf.user/1686
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/config/utilities.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/config/utilities.mak b/tools/perf/config/utilities.mak index 4d985e0f03f5..7076a62d0ff7 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 # |