diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index 9aa81d2d0c6..f983ffe8f68 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -376,7 +376,7 @@ public Base(String[] args) throws Exception { // 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); diff --git a/build/shared/revisions.txt b/build/shared/revisions.txt index fbfd6e1b5e6..8258072273c 100644 --- a/build/shared/revisions.txt +++ b/build/shared/revisions.txt @@ -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]