mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
configure: Remove unused python_version variable
Shellcheck correctly reports that we set python_version and never use
it. This is a leftover from commit f933275789
: we used to use
python_version purely to as part of the summary information printed
at the end of a configure run, and that commit changed to printing
the information from meson (which looks up the python version
itself). Remove the unused variable.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20220825150703.4074125-2-peter.maydell@linaro.org
This commit is contained in:
parent
972d325a8d
commit
342cf30413
1 changed files with 0 additions and 3 deletions
3
configure
vendored
3
configure
vendored
|
@ -1112,9 +1112,6 @@ if ! $python -c 'import sys; sys.exit(sys.version_info < (3,6))'; then
|
||||||
"Use --python=/path/to/python to specify a supported Python."
|
"Use --python=/path/to/python to specify a supported Python."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Preserve python version since some functionality is dependent on it
|
|
||||||
python_version=$($python -c 'import sys; print("%d.%d.%d" % (sys.version_info[0], sys.version_info[1], sys.version_info[2]))' 2>/dev/null)
|
|
||||||
|
|
||||||
# Suppress writing compiled files
|
# Suppress writing compiled files
|
||||||
python="$python -B"
|
python="$python -B"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue