Browse Source

Bug fixed

pull/103/head
Unknown 11 years ago
parent
commit
f19532ca20
  1. 1
      cmd/build.go
  2. 2
      cmd/get.go
  3. 2
      doc/conf.go

1
cmd/build.go

@ -35,7 +35,6 @@ gopm build <go build commands>`,
}
func runBuild(ctx *cli.Context) {
doc.LoadLocalNodes()
genNewGoPath(ctx, false)
log.Trace("Building...")

2
cmd/get.go

@ -80,8 +80,6 @@ func runGet(ctx *cli.Context) {
installRepoPath = doc.HomeDir + "/repos"
log.Log("Local repository path: %s", installRepoPath)
doc.LoadLocalNodes()
// Check number of arguments.
switch len(ctx.Args()) {
case 0:

2
doc/conf.go

@ -43,6 +43,8 @@ func init() {
}
HomeDir = strings.Replace(RawHomeDir, "~", hd, -1)
LoadLocalNodes()
}
func NewGopmfile(dirPath string) *goconfig.ConfigFile {

Loading…
Cancel
Save