From 17a21102b34cab69216d7c7dedf76511bc082dfe Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Wed, 26 Mar 2014 21:09:53 +0100 Subject: [PATCH] Normalize asset paths (fixes #103) --- cmd/assets/assets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/assets/assets.go b/cmd/assets/assets.go index 081a11216..f66db81b9 100644 --- a/cmd/assets/assets.go +++ b/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()), }) }