1
0
mirror of https://github.com/beego/bee.git synced 2024-06-17 20:53:33 +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) {