Bug fixed

This commit is contained in:
Unknown 2013-12-13 21:39:16 -05:00
parent 49c53400ea
commit cce4f8c289
1 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,9 @@ func Autobuild() {
if runtime.GOOS == "windows" {
appName += ".exe"
}
if isExist(appName) {
os.Remove(appName)
}
binPath := GetGOPATHs()[0] + "/bin/" + appName
if conf.GoInstall && isExist(binPath) {