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:
2703a86
)
Change search directory for xds-gdb.env
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Mon, 28 Aug 2017 22:08:13 +0000
(
00:08
+0200)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Mon, 28 Aug 2017 22:10:48 +0000
(
00:10
+0200)
main.go
patch
|
blob
|
history
diff --git
a/main.go
b/main.go
index
64bbcb9
..
4302e9c
100644
(file)
--- a/
main.go
+++ b/
main.go
@@
-499,9
+499,9
@@
func loadConfigEnvFile(confFile, gdbCmdFile string) (map[string]string, string,
xdsEnvFile := "xds-gdb.env"
for _, d := range []string{
path.Join(curDir),
- path.Join(curDir, ".."
, ".."
),
- path.Join(curDir, "
../../
target"),
- path.Join(u.HomeDir, ".xds"),
+ path.Join(curDir, ".."),
+ path.Join(curDir, "target"),
+ path.Join(u.HomeDir, ".
config", "
xds"),
} {
confFile = path.Join(d, xdsEnvFile)
log.Infof("Search config in %s", confFile)