Skip to content
Snippets Groups Projects
Commit 2692df79 authored by q3k's avatar q3k
Browse files

apps: append / to tar directory names

parent 77606004
Branches
No related tags found
No related merge requests found
...@@ -172,7 +172,7 @@ func (s *server) targzApp(ctx context.Context, name, pathInRepo, repo string, ob ...@@ -172,7 +172,7 @@ func (s *server) targzApp(ctx context.Context, name, pathInRepo, repo string, ob
if !directories[cur] { if !directories[cur] {
directories[cur] = true directories[cur] = true
err = t.WriteHeader(&tar.Header{ err = t.WriteHeader(&tar.Header{
Name: cur, Name: cur + "/",
Typeflag: tar.TypeDir, Typeflag: tar.TypeDir,
Mode: 0755, Mode: 0755,
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment