diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-08-29 00:08:13 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-08-29 00:10:48 +0200 |
commit | 68ac563c8ce709fe55d3cf38ea230ea78d633d6a (patch) | |
tree | bd0e2f7b08c5d9cb5087c83a6d904b202615507e /main.go | |
parent | 2703a86595011794e7c02912678fa8b0c2daf56a (diff) |
Change search directory for xds-gdb.env
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |