Merge pull request #657 from chai2010/dev

Fix #656
This commit is contained in:
无闻 2014-11-23 22:15:25 -05:00
commit 5b32cdd960
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ func runDump(ctx *cli.Context) {
workDir, _ := setting.WorkDir()
z.AddFile("gogs-repo.zip", path.Join(workDir, "gogs-repo.zip"))
z.AddFile("gogs-db.sql", path.Join(workDir, "gogs-db.sql"))
z.AddFile("custom/conf/app.ini", path.Join(workDir, "custom/conf/app.ini"))
z.AddDir("custom", path.Join(workDir, "custom"))
z.AddDir("log", path.Join(workDir, "log"))
// FIXME: SSH key file.
if err = z.Close(); err != nil {