Update boards_txt path in bin/ard-parse-boards to include environment variable ARDUINO_DIR
This corrects the behaviour of ard-parse-boards --boards , which would fail if the path to boards.txt on the system didn't match the value which was hardcoded.
This commit is contained in:
parent
184230fcf2
commit
184b482a98
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ use YAML;
|
|||
|
||||
my %Opt =
|
||||
(
|
||||
boards_txt => '/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/boards.txt',
|
||||
boards_txt => "$ENV{'ARDUINO_DIR'}/hardware/arduino/boards.txt",
|
||||
);
|
||||
|
||||
GetOptions(\%Opt,
|
||||
|
|
Loading…
Reference in a new issue