[PATCH] configure: fix --meson=/path/to/meson

Paolo Bonzini posted 1 patch 2 weeks ago
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch failed
Test FreeBSD failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200916080812.21479-1-pbonzini@redhat.com
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] configure: fix --meson=/path/to/meson

Posted by Paolo Bonzini 2 weeks ago
Due to a cut-and-paste error, the path to a user-specified meson
was ignored and replaced by whatever was in the path.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 13f53ba231..d6fbadad27 100755
--- a/configure
+++ b/configure
@@ -2012,7 +2012,7 @@ case "$meson" in
         fi
         meson="$python ${source_path}/meson/meson.py"
         ;;
-    *) meson=$(command -v meson) ;;
+    *) meson=$(command -v "$meson") ;;
 esac
 
 # Probe for ninja (used for compdb)
-- 
2.26.2


Re: [PATCH] configure: fix --meson=/path/to/meson

Posted by Richard Henderson 2 weeks ago
On 9/16/20 1:08 AM, Paolo Bonzini wrote:
> Due to a cut-and-paste error, the path to a user-specified meson
> was ignored and replaced by whatever was in the path.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~