This commit is contained in:
parent
869ca61809
commit
e63e8f70ca
|
@ -102,7 +102,7 @@ func (*mygo) GetExecutableInGOBIN(executable string) string {
|
|||
// $GOBIN/executable
|
||||
gobin := os.Getenv("GOBIN")
|
||||
if "" != gobin {
|
||||
ret = gobin + pathSeparator + executable
|
||||
ret := gobin + pathSeparator + executable
|
||||
if File.IsExist(ret) {
|
||||
return ret
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue