From 7beb026f0e981df484363ae017d43c8167c80a6e Mon Sep 17 00:00:00 2001 From: John Howard Date: Wed, 2 Sep 2015 16:24:53 -0700 Subject: [PATCH] Windows: Fix HTTP download directory Signed-off-by: John Howard --- builder/internals.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/internals.go b/builder/internals.go index dbd661c28f..97db53ac44 100644 --- a/builder/internals.go +++ b/builder/internals.go @@ -360,7 +360,7 @@ func calcCopyInfo(b *builder, cmdName string, cInfos *[]*copyInfo, origPath stri if err != nil { return err } - path := u.Path + path := filepath.FromSlash(u.Path) // Ensure in platform semantics if strings.HasSuffix(path, string(os.PathSeparator)) { path = path[:len(path)-1] }