make.go: Fix windows build.

Running genfileembed on Windows requires .exe extension.

Change-Id: I34440db9c2f719c87149c16ef40a71433bf256fe
This commit is contained in:
Daniel Coonce 2014-03-28 12:19:09 -05:00
parent 4b2acfe155
commit 0852c22aa9
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ func buildSrcPath(fromSrc string) string {
// It also populates wantDestFile with those files so they're
// kept in between runs.
func genEmbeds() error {
cmdName := filepath.Join(buildGoPath, "bin", "genfileembed")
cmdName := exeName(filepath.Join(buildGoPath, "bin", "genfileembed"))
uiEmbeds := buildSrcPath("server/camlistored/ui")
serverEmbeds := buildSrcPath("pkg/server")
reactEmbeds := buildSrcPath("third_party/react")