1
0
mirror of https://github.com/beego/bee.git synced 2024-11-25 15:00:55 +00:00

Bug fixed

This commit is contained in:
Unknown 2013-12-13 21:39:16 -05:00
parent 49c53400ea
commit cce4f8c289

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) {