diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-09-23 16:35:08 +0400 |
|---|---|---|
| committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-10-08 11:25:29 +0300 |
| commit | 88071589e8c6665c40c39bdefc59ad615693b325 (patch) | |
| tree | 3956aa8bd81c371615ab9f9e861944917a7efb4e | |
| parent | cbf061bd1fdb5017bfadde2164bdd6183d53a43d (diff) | |
| download | focaccia-qemu-88071589e8c6665c40c39bdefc59ad615693b325.tar.gz focaccia-qemu-88071589e8c6665c40c39bdefc59ad615693b325.zip | |
build-sys: fix find-in-path
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 <marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
| -rw-r--r-- | rules.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mak b/rules.mak index 3fdb261e32..0333ae3c95 100644 --- 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))))) |