summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-02-11 16:50:17 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-02-11 16:42:03 +0000
commitd8e9469523019a9438701616cdf59cc12cb4ef61 (patch)
treef219c8a2ac03c20cddd97a3c961c88ddfe3cb8e4
parent1e5643d42eb7165aa6097bd5ccfcb4eb5e1477ac (diff)
Fix environment check regarding msvc redist libraries, take 2
Check the bool value. Amends 263df6601717b52237f62c08ad1f6bc536093e45 Change-Id: Ibcca3e34477da80999e87918ff03cf1639bc40d5 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
-rw-r--r--build_scripts/platforms/windows_desktop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_scripts/platforms/windows_desktop.py b/build_scripts/platforms/windows_desktop.py
index 47c1376c..b94c2e1c 100644
--- a/build_scripts/platforms/windows_desktop.py
+++ b/build_scripts/platforms/windows_desktop.py
@@ -277,7 +277,7 @@ def copy_msvc_redist_files(vars, redist_target_path):
# Extract Qt dependency dlls when building on Qt CI.
in_coin = os.environ.get("QTEST_ENVIRONMENT", None) == "ci"
- if in_coin is not None:
+ if in_coin:
redist_url = "http://download.qt.io/development_releases/prebuilt/vcredist/"
zip_file = "pyside_qt_deps_64.7z"
if "{target_arch}".format(**vars) == "32":