gobin slash issue
This commit is contained in:
parent
0eca2b66b4
commit
ed20a98995
@ -10,6 +10,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
"errors"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// The Project struct defines the informations about a project
|
||||
@ -102,7 +103,7 @@ func (p *Project) GoInstall() error {
|
||||
if gopath == ""{
|
||||
return errors.New("$GOPATH not set")
|
||||
}
|
||||
err := os.Setenv("GOBIN",os.Getenv("GOPATH") + "bin")
|
||||
err := os.Setenv("GOBIN",slash(os.Getenv("GOPATH")) + slash("bin"))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user