mirror of
https://github.com/casbin/bee.git
synced 2025-07-20 09:14:20 +08:00
fix bee pack build path
This commit is contained in:
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())
|
||||||
|
Reference in New Issue
Block a user