1
0
mirror of https://github.com/beego/bee.git synced 2024-11-24 03:20:55 +00:00

fix bee pack build path

This commit is contained in:
slene 2013-06-28 15:17:12 +08:00
parent 1224787b47
commit b9c7661c98

View File

@ -454,6 +454,7 @@ func packApp(cmd *Command, args []string) {
execmd := exec.Command(gobin, "build", "-o", binPath) execmd := exec.Command(gobin, "build", "-o", binPath)
execmd.Stdout = os.Stdout execmd.Stdout = os.Stdout
execmd.Stderr = os.Stderr execmd.Stderr = os.Stderr
execmd.Dir = thePath
err = execmd.Run() err = execmd.Run()
if err != nil { if err != nil {
exitPrint(err.Error()) exitPrint(err.Error())