Browse Source

Update PIO dependencies script

Victor Oliveira 4 years ago
parent
commit
b632b52b11
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      buildroot/share/PlatformIO/scripts/common-dependencies.py

+ 2
- 1
buildroot/share/PlatformIO/scripts/common-dependencies.py View File

208
 		for filepath in os.listdir(pathdir):
208
 		for filepath in os.listdir(pathdir):
209
 			if not filepath.endswith(gcc):
209
 			if not filepath.endswith(gcc):
210
 				continue
210
 				continue
211
-
211
+			# Use entire path to not rely on env PATH
212
+			filepath = os.path.sep.join([pathdir, filepath])
212
 			# Cache the g++ path to no search always
213
 			# Cache the g++ path to no search always
213
 			if os.path.exists(ENV_BUILD_PATH):
214
 			if os.path.exists(ENV_BUILD_PATH):
214
 				blab('Caching g++ for current env')
215
 				blab('Caching g++ for current env')

Loading…
Cancel
Save