File tree 1 file changed +3
-2
lines changed
it.baeyens.arduino.core/src/it/baeyens/arduino/tools
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -572,8 +572,9 @@ private static void setTheEnvironmentVariablesSetTheDefaults(IContributedEnviron
572
572
573
573
// some glue to make it work
574
574
String extraPathForOS = "" ;
575
- if (Platform .getOS ().equals (Platform .OS_WIN32 )) {
576
- extraPathForOS = "${PathDelimiter}${" + ENV_KEY_ARDUINO_PATH + "}/hardware/tools/avr/utils/bin" ;
575
+ if (Platform .getWS ().equals (Platform .WS_WIN32 )) {
576
+ extraPathForOS = "${PathDelimiter}${" + ENV_KEY_ARDUINO_PATH + "}/hardware/tools/avr/utils/bin${PathDelimiter}${" + ENV_KEY_ARDUINO_PATH
577
+ + "}" ;
577
578
}
578
579
var = new EnvironmentVariable ("PATH" , "${A.COMPILER.PATH}${PathDelimiter}${" + ENV_KEY_build_generic_path + "}" + extraPathForOS
579
580
+ "${PathDelimiter}${PATH}" );
You can’t perform that action at this time.
0 commit comments