Received: from eggs.gnu.org ([2001:4830:134:3::10]:52430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnPhG-0002Rh-Ra for qemu-devel@nongnu.org; Fri, 23 Sep 2016 08:35:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnPhD-0008Pj-H5 for qemu-devel@nongnu.org; Fri, 23 Sep 2016 08:35:18 -0400 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Fri, 23 Sep 2016 16:35:08 +0400 Message-Id: <20160923123508.27000-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] build-sys: fix find-in-path List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Fix spelling, the GNU make text functions is not called "find-string" but "findstring". Signed-off-by: Marc-Andr=C3=A9 Lureau --- 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 conside= rs one # specific directory. Returns an # empty string if the program doesn't = exist # there. -find-in-path =3D $(if $(find-string /, $1), \ +find-in-path =3D $(if $(findstring /, $1), \ $(wildcard $1), \ $(wildcard $(patsubst %, %/$1, $(subst :, ,$(PATH))))) =20 --=20 2.10.0