Browse Source

Bug fixed

pull/103/head
Unknown 11 years ago
parent
commit
b5f4b189d3
  1. 5
      cmd/gopath.go
  2. 2
      gopm.go

5
cmd/gopath.go

@ -146,10 +146,7 @@ func execCmd(gopath, curPath string, args ...string) error {
os.Chdir(cwd)
}()
ccmd := exec.Command("cd", curPath)
ccmd.Stdout = os.Stdout
ccmd.Stderr = os.Stderr
err = ccmd.Run()
err = os.Chdir(curPath)
if err != nil {
log.Error("", "Fail to change work directory")
log.Fatal("", err.Error())

2
gopm.go

@ -29,7 +29,7 @@ import (
// Test that go1.1 tag above is included in builds. main.go refers to this definition.
const go11tag = true
const APP_VER = "0.5.7.1201"
const APP_VER = "0.5.7.1202"
// //cmd.CmdSearch,
// cmdClean,

Loading…
Cancel
Save