Skip to content
Snippets Groups Projects
Commit c06b1571 authored by Michal Privoznik's avatar Michal Privoznik Committed by Paolo Bonzini
Browse files

configure: check for $download value properly


If configure was invoked with --disable-download and git
submodules were not checked out a warning is produced and the
configure script fails. But the $download variable (which
reflects the enable/disable download argument) is checked for in
a weird fashion:

  test -f "$download" = disabled

Drop the '-f' to check for the actual value of the variable.

Fixes: 2019cabf ("meson: subprojects: replace submodules with wrap files", 2023-06-06)
Signed-off-by: default avatarMichal Privoznik <mprivozn@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent e58e55dd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment