diff mbox series

configure: fix --meson=/path/to/meson

Message ID 20200916080812.21479-1-pbonzini@redhat.com
State Superseded
Headers show
Series configure: fix --meson=/path/to/meson | expand

Commit Message

Paolo Bonzini Sept. 16, 2020, 8:08 a.m. UTC
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(-)

Comments

Richard Henderson Sept. 16, 2020, 3:25 p.m. UTC | #1
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~
diff mbox series

Patch

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)