Signed-off-by: John Howard <jhoward@microsoft.com>
| ... | ... |
@@ -236,7 +236,7 @@ func (b *Builder) download(srcURL string) (fi builder.FileInfo, err error) {
|
| 236 | 236 |
if err != nil {
|
| 237 | 237 |
return |
| 238 | 238 |
} |
| 239 |
- path := u.Path |
|
| 239 |
+ path := filepath.FromSlash(u.Path) // Ensure in platform semantics |
|
| 240 | 240 |
if strings.HasSuffix(path, string(os.PathSeparator)) {
|
| 241 | 241 |
path = path[:len(path)-1] |
| 242 | 242 |
} |