diff options
author | Unknwon <u@gogs.io> | 2015-11-23 22:32:07 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-23 22:32:07 -0500 |
commit | 0128036514ed40b2c878053e633762a8cffed74d (patch) | |
tree | b268fd74611c9307bf0cd946ca7d804b6b265386 /routers/install.go | |
parent | ec8d41765d507e1f0b04ccf94dc934a0026498f2 (diff) | |
download | gitea-0128036514ed40b2c878053e633762a8cffed74d.tar.gz gitea-0128036514ed40b2c878053e633762a8cffed74d.zip |
#1681 some fixes for builtin SSH server on Windows
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go index 5240b88e33..f3c51d06ac 100644 --- a/routers/install.go +++ b/routers/install.go @@ -222,6 +222,7 @@ func InstallPost(ctx *middleware.Context, form auth.InstallForm) { } // Test repository root path. + form.RepoRootPath = strings.Replace(form.RepoRootPath, "\\", "/", -1) if err := os.MkdirAll(form.RepoRootPath, os.ModePerm); err != nil { ctx.Data["Err_RepoRootPath"] = true ctx.RenderWithErr(ctx.Tr("install.invalid_repo_path", err), INSTALL, &form) |