]> Git Repo - qemu.git/commitdiff
build-sys: fix find-in-path
authorMarc-André Lureau <[email protected]>
Fri, 23 Sep 2016 12:35:08 +0000 (16:35 +0400)
committerMichael Tokarev <[email protected]>
Sat, 8 Oct 2016 08:25:29 +0000 (11:25 +0300)
Fix spelling, the GNU make text functions is not called "find-string"
but "findstring".

Broken in commit 2b2e59e.  Fairly harmless: its only use is in
tests/tcg/Makefile, where the bug can cause the I386_TESTS not to
run when they should.

Signed-off-by: Marc-André Lureau <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
rules.mak

index 3fdb261e32cac8788766a90e759eee69e7f3a538..0333ae3c958255898f4b17f77103ce6a6ca3e579 100644 (file)
--- a/rules.mak
+++ b/rules.mak
@@ -138,7 +138,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)))))
 
This page took 0.026801 seconds and 4 git commands to generate.