Browse code

Windows: Regression re-fix builder

Signed-off-by: John Howard <jhoward@microsoft.com>

John Howard authored on 2015/10/08 07:57:37
Showing 1 changed files
... ...
@@ -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
 	}