From b5f4b189d356561e893867beef99e420c1f21166 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 2 Dec 2013 02:52:19 -0500 Subject: [PATCH] Bug fixed --- cmd/gopath.go | 5 +---- gopm.go | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/cmd/gopath.go b/cmd/gopath.go index b5a1b264b..c7cb35f99 100644 --- a/cmd/gopath.go +++ b/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()) diff --git a/gopm.go b/gopm.go index 5a8dd4523..e9e14385c 100644 --- a/gopm.go +++ b/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,