build.bash: handle args containing spaces
Fixes ./build.bash -tags "enable_trezor without_openssl"
This commit is contained in:
parent
dbd400d930
commit
182f4833ee
@ -58,9 +58,9 @@ if [[ -z ${BUILDDATE:-} ]] ; then
|
||||
fi
|
||||
|
||||
LDFLAGS="-X main.GitVersion=$GITVERSION -X main.GitVersionFuse=$GITVERSIONFUSE -X main.BuildDate=$BUILDDATE"
|
||||
go build "-ldflags=$LDFLAGS" $@
|
||||
go build "-ldflags=$LDFLAGS" "$@"
|
||||
|
||||
(cd gocryptfs-xray; go build $@)
|
||||
(cd gocryptfs-xray; go build "$@")
|
||||
|
||||
./gocryptfs -version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user