Browse Source

bug fixed

pull/103/head
Lunny Xiao 11 years ago
parent
commit
857b49e18a
  1. 3
      cmd/update.go
  2. 2
      gopm.go

3
cmd/update.go

@ -148,7 +148,8 @@ func runUpdate(ctx *cli.Context) {
log.Error("Update", "Fail to generate bat file") log.Error("Update", "Fail to generate bat file")
log.Fatal("", err.Error()) log.Fatal("", err.Error())
} }
f.WriteString(fmt.Sprintf(`ping -n 1 127.0.0.1>nul\ncopy "%v" "%v"\ndel "%v"\ndel "%v"`, //f.WriteString("@echo off\r\n")
f.WriteString(fmt.Sprintf("ping -n 1 127.0.0.1>nul\r\ncopy \"%v\" \"%v\"\r\ndel \"%v\"\r\ndel \"%v\"\r\n",
tmpBinPath, movePath, tmpBinPath, batPath)) tmpBinPath, movePath, tmpBinPath, batPath))
f.Close() f.Close()

2
gopm.go

@ -29,7 +29,7 @@ import (
// Test that go1.1 tag above is included in builds. main.go refers to this definition. // Test that go1.1 tag above is included in builds. main.go refers to this definition.
const go11tag = true const go11tag = true
const APP_VER = "0.6.2.0113" const APP_VER = "0.6.2.0102"
// //cmd.CmdSearch, // //cmd.CmdSearch,
// cmdClean, // cmdClean,

Loading…
Cancel
Save