From: Sebastien Douheret Date: Mon, 28 Aug 2017 22:08:13 +0000 (+0200) Subject: Change search directory for xds-gdb.env X-Git-Tag: v0.1.0~8 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fxds%2Fxds-gdb.git;a=commitdiff_plain;h=68ac563c8ce709fe55d3cf38ea230ea78d633d6a Change search directory for xds-gdb.env --- 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)