mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 09:42:25 +00:00
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:
committed by
Emil Hessman
parent
671765a944
commit
7cc9ee2436
4
make.bat
4
make.bat
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user