Quellcode durchsuchen

Update PIO dependencies script

Victor Oliveira vor 4 Jahren
Ursprung
Commit
b632b52b11
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2
    1
      buildroot/share/PlatformIO/scripts/common-dependencies.py

+ 2
- 1
buildroot/share/PlatformIO/scripts/common-dependencies.py Datei anzeigen

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

Laden…
Abbrechen
Speichern