diff options
author | 无闻 <joe2010xtmf@163.com> | 2014-11-23 22:15:25 -0500 |
---|---|---|
committer | 无闻 <joe2010xtmf@163.com> | 2014-11-23 22:15:25 -0500 |
commit | 5b32cdd96086b31b1ab3a71684241d8752dfc621 (patch) | |
tree | b376f0fbe45b87e3c910119098ddc7d3b9d92875 /cmd | |
parent | 1b66600bd0e9eaa52f2f14f58c9cdf504efadaf5 (diff) | |
parent | f9ad8d6903b3e4a39a3ae3963dbcdcee4b143a91 (diff) | |
download | gitea-5b32cdd96086b31b1ab3a71684241d8752dfc621.tar.gz gitea-5b32cdd96086b31b1ab3a71684241d8752dfc621.zip |
Merge pull request #657 from chai2010/dev
Fix #656
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/dump.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dump.go b/cmd/dump.go index fe3763f077..3e1ccdb8a3 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -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 { |