Browse Source

Normalize asset paths (fixes #103)

Jakob Borg 11 years ago
parent
commit
17a21102b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmd/assets/assets.go

+ 1 - 1
cmd/assets/assets.go

@@ -63,7 +63,7 @@ func walkerFor(basePath string) filepath.WalkFunc {
 
 			name, _ = filepath.Rel(basePath, name)
 			assets = append(assets, asset{
-				Name:    name,
+				Name:    filepath.ToSlash(name),
 				HexData: fmt.Sprintf("%x", buf.Bytes()),
 			})
 		}