mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1208184 - Make download of tooltool.py customizable via a config setting. r=jlund DONTBUILD
This commit is contained in:
parent
6b714d7499
commit
1d5eedd5b7
@ -39,6 +39,7 @@ config = {
|
||||
"virtualenv_path": '%s/build/venv' % os.getcwd(),
|
||||
|
||||
# Tooltool related
|
||||
"download_tooltool": True,
|
||||
"tooltool_cache": os.path.join(LOCAL_WORKDIR, "builds/tooltool_cache"),
|
||||
"tooltool_cache_path": os.path.join(LOCAL_WORKDIR, "builds/tooltool_cache"),
|
||||
|
||||
|
@ -51,7 +51,7 @@ class TooltoolMixin(object):
|
||||
"""docstring for tooltool_fetch"""
|
||||
tooltool = self.query_exe('tooltool.py', return_type='list')
|
||||
|
||||
if self.config.get("developer_mode"):
|
||||
if self.config.get("download_tooltool"):
|
||||
tooltool = [bin for bin in tooltool if os.path.exists(bin)]
|
||||
if tooltool:
|
||||
cmd = [tooltool[0]]
|
||||
|
Loading…
Reference in New Issue
Block a user