diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-06-29 22:31:46 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-06-29 22:31:46 +0800 |
commit | be123588ced4662048d6c3bd10cac67aac46129b (patch) | |
tree | aa0f99eb6840f1af827b142459702358d6b164b3 /cmd/serve.go | |
parent | 99713e1180ad149faf6442bba311fec6e501aa00 (diff) | |
download | gitea-be123588ced4662048d6c3bd10cac67aac46129b.tar.gz gitea-be123588ced4662048d6c3bd10cac67aac46129b.zip |
clear comments
Diffstat (limited to 'cmd/serve.go')
-rw-r--r-- | cmd/serve.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/serve.go b/cmd/serve.go index 351553b91e..36d1dd45aa 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -9,6 +9,7 @@ import ( "os" "os/exec" "path" + "path/filepath" "strconv" "strings" @@ -30,7 +31,7 @@ var CmdServ = cli.Command{ func setup(logPath string) { setting.NewConfigContext() - log.NewGitLogger(path.Join(setting.LogRootPath, logPath)) + log.NewGitLogger(filepath.Join(setting.LogRootPath, logPath)) models.LoadModelsConfig() if models.UseSQLite3 { @@ -166,7 +167,6 @@ func runServ(k *cli.Context) { return } - //models.SetRepoEnvs(user.Id, user.Name, repoName, repoUserName) uuid := uuid.NewV4().String() os.Setenv("uuid", uuid) |