mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH 1/2] perf Makefile: fix GNU-only grep usage
       [not found] <53FB9040.8060802@barfooze.de>
@ 2014-08-26  6:46 ` Namhyung Kim
  0 siblings, 0 replies; only message in thread
From: Namhyung Kim @ 2014-08-26  6:46 UTC (permalink / raw)
  To: John Spencer; +Cc: linux-perf-users, linux-kernel

Hi John,

You'd better to CC the lkml (linux-kernel@vger.kernel.org) for the perf
patches to get reviewed by other developers.  I'm copying to the list
this time.


On Mon, 25 Aug 2014 21:36:32 +0200, John Spencer wrote:
> From efa79d5b7bc750369332a3a34442573af7b1b35c Mon Sep 17 00:00:00 2001
> From: John Spencer <maillist-linux@barfooze.de>
> Date: Mon, 25 Aug 2014 21:24:30 +0200
> Subject: [PATCH 1/2] perf Makefile: fix GNU-only grep usage
>
> 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>

Thanks,
Namhyung


>
> ---
>  tools/perf/config/utilities.mak | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/config/utilities.mak b/tools/perf/config/utilities.mak
> index 4d985e0..7076a62 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
>  #

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-26  6:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <53FB9040.8060802@barfooze.de>
2014-08-26  6:46 ` [PATCH 1/2] perf Makefile: fix GNU-only grep usage Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®