From 68ac563c8ce709fe55d3cf38ea230ea78d633d6a Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Tue, 29 Aug 2017 00:08:13 +0200 Subject: [PATCH] Change search directory for xds-gdb.env --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 64bbcb9..4302e9c 100644 --- 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) -- 2.16.6