mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +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
|
REM bin generates the releaseable binaries for Vault
|
||||||
:bin
|
:bin
|
||||||
call :generate
|
call :generate
|
||||||
call .\scripts\windows\build.bat %CD%
|
call .\scripts\windows\build.bat "%CD%"
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
REM dev creates binaries for testing Vault locally. These are put
|
REM dev creates binaries for testing Vault locally. These are put
|
||||||
REM into ./bin/ as well as %GOPATH%/bin
|
REM into ./bin/ as well as %GOPATH%/bin
|
||||||
:dev
|
:dev
|
||||||
call :generate
|
call :generate
|
||||||
call .\scripts\windows\build.bat %CD% VAULT_DEV
|
call .\scripts\windows\build.bat "%CD%" VAULT_DEV
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
REM generate runs `go generate` to build the dynamically generated
|
REM generate runs `go generate` to build the dynamically generated
|
||||||
|
|||||||
Reference in New Issue
Block a user