Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ce2bb0b

Browse files
committed
Make sure ctx.BuildPath is absolute
1 parent bbf7051 commit ce2bb0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎arduino-builder/main.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import (
3737
"io/ioutil"
3838
"os"
3939
"os/exec"
40+
"path/filepath"
4041
"runtime"
4142
"strings"
4243
"syscall"
@@ -311,7 +312,7 @@ func main() {
311312
printCompleteError(err)
312313
}
313314
}
314-
ctx.BuildPath=buildPath
315+
ctx.BuildPath, _=filepath.Abs(buildPath)
315316

316317
// FLAG_BUILD_CACHE
317318
buildCachePath, err := gohasissues.Unquote(*buildCachePathFlag)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /