projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
763122a
)
perf tools: Fix GNU-only grep usage in Makefile
author
John Spencer
<maillist-linux@barfooze.de>
Mon, 25 Aug 2014 19:36:32 +0000
(21:36 +0200)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 17 Sep 2014 20:08:09 +0000
(17:08 -0300)
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>
tools/perf/config/utilities.mak
patch
|
blob
|
history
diff --git
a/tools/perf/config/utilities.mak
b/tools/perf/config/utilities.mak
index 4d985e0f03f584f666fb74b86efd095a064ebaae..7076a62d0ff72c094ca0bb2e1eae7308aaaf948f 100644
(file)
--- 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
#