[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] build-sys: fix find-in-path
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH] build-sys: fix find-in-path |
Date: |
Tue, 27 Sep 2016 16:17:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Marc-André Lureau <address@hidden> writes:
> Fix spelling, the GNU make text functions is not called "find-string"
> but "findstring".
>
> Signed-off-by: Marc-André Lureau <address@hidden>
> ---
> rules.mak | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/rules.mak b/rules.mak
> index 5c82c19..f721988 100644
> --- a/rules.mak
> +++ b/rules.mak
> @@ -132,7 +132,7 @@ endef
> # Looks in the PATH if the argument contains no slash, else only considers
> one
> # specific directory. Returns an # empty string if the program doesn't exist
> # there.
> -find-in-path = $(if $(find-string /, $1), \
> +find-in-path = $(if $(findstring /, $1), \
> $(wildcard $1), \
> $(wildcard $(patsubst %, %/$1, $(subst :, ,$(PATH)))))
Impact?