Code Review
/
src
/
xds
/
xds-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e8634ea
)
Fix bug when load config file.
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Mon, 21 Aug 2017 21:25:38 +0000
(23:25 +0200)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Mon, 21 Aug 2017 21:25:38 +0000
(23:25 +0200)
main.go
patch
|
blob
|
history
diff --git
a/main.go
b/main.go
index
01b46c9
..
1ada40e
100644
(file)
--- a/
main.go
+++ b/
main.go
@@
-487,7
+487,7
@@
func loadConfigEnvFile(confFile, gdbCmdFile string) (map[string]string, string,
path.Join(curDir, "../../target"),
path.Join(u.HomeDir, ".xds"),
} {
- confFile
:
= path.Join(d, xdsEnvFile)
+ confFile = path.Join(d, xdsEnvFile)
logEarly("Search config in %s", confFile)
if common.Exists(confFile) {
break