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:
parent
1224787b47
commit
b9c7661c98
1
pack.go
1
pack.go
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user