Skip to content

Commit

Permalink
verify/upload from CLI with relative path works again
Browse files Browse the repository at this point in the history
Fix #5836
  • Loading branch information
cmaglie committed Jan 23, 2017
1 parent 3f74631 commit 61cccc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/processing/app/Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 3 additions & 0 deletions build/shared/revisions.txt
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit 61cccc0

Please sign in to comment.