Update PIO dependencies script

This commit is contained in:
Victor Oliveira 2020-10-24 18:25:14 -03:00 committed by Scott Lahteine
parent 35597ae336
commit e44a97a096

View File

@ -208,7 +208,8 @@ def search_compiler():
for filepath in os.listdir(pathdir):
if not filepath.endswith(gcc):
continue
# Use entire path to not rely on env PATH
filepath = os.path.sep.join([pathdir, filepath])
# Cache the g++ path to no search always
if os.path.exists(ENV_BUILD_PATH):
blab('Caching g++ for current env')