X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=main.go;h=4302e9c9fb9afddbd9c233ce1516b570ff6c8598;hb=68ac563c8ce709fe55d3cf38ea230ea78d633d6a;hp=64bbcb9f1add4435a593df7ec26591244014a518;hpb=2703a86595011794e7c02912678fa8b0c2daf56a;p=src%2Fxds%2Fxds-gdb.git 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)