Code Review
/
src
/
xds
/
xds-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Change search directory for xds-gdb.env
[src/xds/xds-gdb.git]
/
main.go
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),
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)
} {
confFile = path.Join(d, xdsEnvFile)
log.Infof("Search config in %s", confFile)