This commit is contained in:
Liang Ding 2015-04-15 17:04:51 +08:00
parent 869ca61809
commit e63e8f70ca
1 changed files with 1 additions and 1 deletions

View File

@ -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
}