Browse Source

copy for windows xp bug fixed

pull/103/head
Lunny Xiao 11 years ago
parent
commit
f548440f8a
  1. 7
      cmd/helper_windows.go
  2. 2
      gopm.go

7
cmd/helper_windows.go

@ -18,7 +18,12 @@ func makeLink(srcPath, destPath string) error {
// XP.
isWindowsXP = true
os.RemoveAll(destPath)
return com.CopyDir(srcPath, destPath)
_, dirName := filepath.Split(destPath)
// .vendor dir should not be copy
if dirName != doc.VENDOR {
return com.CopyDir(srcPath, destPath)
}
return nil
}
func volumnType(dir string) string {

2
gopm.go

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

Loading…
Cancel
Save