verify/upload from CLI with relative path works again

Fix #5836
This commit is contained in:
Cristian Maglie 2017-01-18 18:04:46 +01:00 committed by Cristian Maglie
parent 3f74631762
commit 61cccc0151
2 changed files with 4 additions and 1 deletions

View File

@ -376,7 +376,7 @@ public class Base {
// Build
splash.splashText(tr("Verifying..."));
File sketchFile = new File(parser.getFilenames().get(0));
File sketchFile = BaseNoGui.absoluteFile(parser.getFilenames().get(0));
sketch = new Sketch(sketchFile);
outputFile = new Compiler(sketch).build(progress -> {}, false);

View File

@ -1,5 +1,8 @@
ARDUINO 1.8.2
[ide]
* Fix command line: works again with relative paths (regression)
ARDUINO 1.8.1 - 2017.01.09
[ide]