Browse Source

Done download repos on google code

pull/103/head
Unknown 12 years ago
parent
commit
53a37e6504
  1. 5
      doc/google.go

5
doc/google.go

@ -38,16 +38,15 @@ func getGoogleDoc(client *http.Client, match map[string]string, installRepoPath
}
var installPath string
projectPath := GetProjectPath(nod.ImportPath)
if nod.ImportPath == nod.DownloadURL {
suf := "." + nod.Value
if len(suf) == 1 {
suf = ""
}
projectPath := expand("code.google.com/p/{repo}{dot}{subrepo}{dir}", match)
installPath = installRepoPath + "/" + projectPath + suf
nod.ImportPath = projectPath
} else {
installPath = installRepoPath + "/" + nod.ImportPath
installPath = installRepoPath + "/" + projectPath
}
// Remove old files.

Loading…
Cancel
Save