Fix bug in download_tool()

Skip check to ensure the correct architecture path is returned.
This commit is contained in:
2Shirt 2021-05-05 23:56:12 -06:00
parent 6a00444bd4
commit 4928989913
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -64,7 +64,7 @@ def download_file(out_path, source_url, as_new=False, overwrite=False):
def download_tool(folder, name):
"""Download tool."""
name_arch = f'{name}{ARCH}'
out_path = find_kit_dir('.bin').joinpath(f'{folder}/{name}.exe')
out_path = get_tool_path(folder, name, check=False)
up_to_date = False
# Check if tool is up to date