diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2023-06-07 10:01:03 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-06-07 11:05:09 +0200 |
commit | c06b1571cc5c27b2042315b2a1c99f477a497716 (patch) | |
tree | 6f5f95e44667fefe122377702124d03062d0619d /scripts/simplebench/bench-backup.py | |
parent | e58e55dd8d5777f8a58ce30cfe04a8023282eb80 (diff) | |
download | qemu-c06b1571cc5c27b2042315b2a1c99f477a497716.zip qemu-c06b1571cc5c27b2042315b2a1c99f477a497716.tar.gz qemu-c06b1571cc5c27b2042315b2a1c99f477a497716.tar.bz2 |
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: 2019cabfee0 ("meson: subprojects: replace submodules with wrap files", 2023-06-06)
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/simplebench/bench-backup.py')
0 files changed, 0 insertions, 0 deletions