configure: fix --meson=/path/to/meson
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Sep 2020 14:00:26 +0000 (10:00 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 30 Sep 2020 17:11:36 +0000 (19:11 +0200)
Due to a cut-and-paste error, the path to a user-specified meson
was ignored and replaced by whatever was in the path.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure

index cfbac88d9ba98dc68e83c8e5d649e7c35b7c7b31..1c05932a72f4ba7aea90102d1df46105871311a6 100755 (executable)
--- a/configure
+++ b/configure
@@ -2015,7 +2015,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)