[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 20/26] build-sys: fix find-in-path
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 20/26] build-sys: fix find-in-path |
Date: |
Sat, 8 Oct 2016 11:58:06 +0300 |
From: Marc-André Lureau <address@hidden>
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 <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
rules.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules.mak b/rules.mak
index 3fdb261..0333ae3 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)))))
--
2.1.4
- [Qemu-devel] [PULL 03/26] tests: Ignore test executables, (continued)
- [Qemu-devel] [PULL 03/26] tests: Ignore test executables, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 09/26] MAINTAINERS: Add header files to CRIS section, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 19/26] m68k: change default system clock for m5208evb, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 26/26] net/filter-mirror: Fix mirror initial check typo, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 21/26] bitmap: refine and move BITMAP_{FIRST/LAST}_WORD_MASK, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 23/26] char: fix missing return in error path for chardev TLS init, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 22/26] CODING_STYLE: Fix a typo ("have" vs. "has"), Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 05/26] MAINTAINERS: Add some more files to the HMP section, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 02/26] bt-hci-csr: drop unused argument, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 07/26] MAINTAINERS: Add some SPARC machine related files, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 20/26] build-sys: fix find-in-path,
Michael Tokarev <=
- [Qemu-devel] [PULL 12/26] MAINTAINERS: Add usermode related config files, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 04/26] MAINTAINERS: Add files to the Moxie section., Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 06/26] MAINTAINERS: Add include/hw/audio/ to audio section, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 15/26] maint: Add module_block.h to .gitignore, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 18/26] exec: remove unused compacted argument, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 25/26] virtio: rename the bar index field name in VirtIOPCIProxy, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 24/26] linux-user: include <poll.h> instead of <sys/poll.h>, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 08/26] MAINTAINERS: Add some more files to the virtio section, Michael Tokarev, 2016/10/08
- [Qemu-devel] [PULL 01/26] qemu-options.hx: fix -chardev ringbuf typos, Michael Tokarev, 2016/10/08
- Re: [Qemu-devel] [PULL 00/26] Trivial patches for 2016-10-08, Peter Maydell, 2016/10/10