diff options
author | Jakob Unterwurzacher | 2018-08-15 23:17:44 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-08-15 23:17:44 +0200 |
commit | 182f4833eee257d881ec9c5096914e02776335f1 (patch) | |
tree | f4d458657147f96123c4d3767dbb829a6932e3dd /build.bash | |
parent | dbd400d930ccd790c2918f6382c0efaeb353c282 (diff) |
build.bash: handle args containing spaces
Fixes ./build.bash -tags "enable_trezor without_openssl"
Diffstat (limited to 'build.bash')
-rwxr-xr-x | build.bash | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |