scripts: sphinx-pre-install: fix venv version check logic
authorMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 2 Jul 2022 10:11:25 +0000 (11:11 +0100)
committerJonathan Corbet <corbet@lwn.net>
Thu, 7 Jul 2022 18:45:32 +0000 (12:45 -0600)
commit7c2d45a347c7933cbe0efff14fe96adeb13fd761
treedb6a5f4a2c02df53b8de886289d02264e122cc3c
parent4d627ef12b409fd149226617180f1cc6088bbf12
scripts: sphinx-pre-install: fix venv version check logic

The logic which checks if the venv version is good enough
but was not activated is broken: it is checking against
the wrong val, making it to recommend to re-create a venv
every time. Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lore.kernel.org/r/afe01b7863fd655986d84ace8948f3d7aede796d.1656756450.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/sphinx-pre-install