diff options
Diffstat (limited to 'build/download/base.py')
-rw-r--r-- | build/download/base.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/download/base.py b/build/download/base.py index fcf60242..e3081638 100644 --- a/build/download/base.py +++ b/build/download/base.py @@ -22,6 +22,7 @@ import progressbar import concurrent.futures +from distutils.spawn import find_executable progressbar.streams.wrap_stdout() progressbar.streams.wrap_stderr() @@ -81,3 +82,5 @@ def finish_progress(progress, error_count, log): progress.finish(dirty=error_count > 0) log.info('Download ended. Elapsed time {}'.format(progress.data()['time_elapsed'])) +def check_tool(name): + return find_executable(name) |