make.bat: enclose path with double quotes in order to handle paths with spaces

Fixes build issues when %GOPATH% is in e.g. "C:\Program Files" et al.
This commit is contained in:
Emil Hessman
2015-05-04 07:34:10 +02:00
committed by Emil Hessman
parent 671765a944
commit 7cc9ee2436

View File

@@ -15,14 +15,14 @@ goto usage
REM bin generates the releaseable binaries for Vault
:bin
call :generate
call .\scripts\windows\build.bat %CD%
call .\scripts\windows\build.bat "%CD%"
goto :eof
REM dev creates binaries for testing Vault locally. These are put
REM into ./bin/ as well as %GOPATH%/bin
:dev
call :generate
call .\scripts\windows\build.bat %CD% VAULT_DEV
call .\scripts\windows\build.bat "%CD%" VAULT_DEV
goto :eof
REM generate runs `go generate` to build the dynamically generated