0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-12 01:20:33 -05:00

Merge branch 'master' of github.com:gogits/gogs into dev

This commit is contained in:
Unknown 2014-06-01 10:54:15 -04:00
commit 1f059502dc

View file

@ -58,7 +58,7 @@ func ZipDownload(ctx *middleware.Context, params martini.Params) {
commitId := ctx.Repo.CommitId
archivesPath := filepath.Join(ctx.Repo.GitRepo.Path, "archives/zip")
if !com.IsDir(archivesPath) {
if err := os.MkdirAll(archivesPath, 0655); err != nil {
if err := os.MkdirAll(archivesPath, 0755); err != nil {
ctx.Handle(500, "ZipDownload -> os.Mkdir(archivesPath)", err)
return
}