mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Windows: Fix HTTP download directory
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user