Skip to content

Commit 61cccc0

Browse files
committed
verify/upload from CLI with relative path works again
Fix #5836
1 parent 3f74631 commit 61cccc0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/src/processing/app/Base.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ public Base(String[] args) throws Exception {
376376
// Build
377377
splash.splashText(tr("Verifying..."));
378378

379-
File sketchFile = new File(parser.getFilenames().get(0));
379+
File sketchFile = BaseNoGui.absoluteFile(parser.getFilenames().get(0));
380380
sketch = new Sketch(sketchFile);
381381

382382
outputFile = new Compiler(sketch).build(progress -> {}, false);

build/shared/revisions.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
ARDUINO 1.8.2
22

3+
[ide]
4+
* Fix command line: works again with relative paths (regression)
5+
36
ARDUINO 1.8.1 - 2017.01.09
47

58
[ide]

0 commit comments

Comments
 (0)