mirror of
https://github.com/golang/go
synced 2024-11-24 18:10:02 -07:00
goinstall: use https for Google Code checkouts
This way, if you later want to check things in, you can (with appropriate authorization). Using plain http leads to the cryptic error abort: HTTP Method Not Allowed. R=r CC=golang-dev https://golang.org/cl/1983050
This commit is contained in:
parent
423e410258
commit
dbc6d75315
@ -58,7 +58,7 @@ func download(pkg string) (string, os.Error) {
|
||||
// regexp only allows hg, svn to get through
|
||||
panic("missing case in download: " + pkg)
|
||||
}
|
||||
if err := vcsCheckout(v, root+m[1], "http://"+m[1], m[1]); err != nil {
|
||||
if err := vcsCheckout(v, root+m[1], "https://"+m[1], m[1]); err != nil {
|
||||
return "", err
|
||||
}
|
||||
return root + pkg, nil
|
||||
|
Loading…
Reference in New Issue
Block a user