diff options
author | chai2010 <chaishushan@gmail.com> | 2014-11-24 10:58:39 +0800 |
---|---|---|
committer | chai2010 <chaishushan@gmail.com> | 2014-11-24 10:58:39 +0800 |
commit | f9ad8d6903b3e4a39a3ae3963dbcdcee4b143a91 (patch) | |
tree | b376f0fbe45b87e3c910119098ddc7d3b9d92875 /cmd/dump.go | |
parent | 1b66600bd0e9eaa52f2f14f58c9cdf504efadaf5 (diff) | |
download | gitea-f9ad8d6903b3e4a39a3ae3963dbcdcee4b143a91.tar.gz gitea-f9ad8d6903b3e4a39a3ae3963dbcdcee4b143a91.zip |
Fix #656
Diffstat (limited to 'cmd/dump.go')
-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 { |