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