Unverified Commit 3771ef86 authored by Matthew Fisher's avatar Matthew Fisher Committed by GitHub
Browse files

Merge pull request #3984 from muehlburger/dev

Fix filenames in tarball created on windows
Showing with 1 addition and 1 deletion
+1 -1
...@@ -205,7 +205,7 @@ func writeTarContents(out *tar.Writer, c *chart.Chart, prefix string) error { ...@@ -205,7 +205,7 @@ func writeTarContents(out *tar.Writer, c *chart.Chart, prefix string) error {
func writeToTar(out *tar.Writer, name string, body []byte) error { func writeToTar(out *tar.Writer, name string, body []byte) error {
// TODO: Do we need to create dummy parent directory names if none exist? // TODO: Do we need to create dummy parent directory names if none exist?
h := &tar.Header{ h := &tar.Header{
Name: name, Name: filepath.ToSlash(name),
Mode: 0755, Mode: 0755,
Size: int64(len(body)), Size: int64(len(body)),
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment