summaryrefslogtreecommitdiff
path: root/build.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-08-15 23:17:44 +0200
committerJakob Unterwurzacher2018-08-15 23:17:44 +0200
commit182f4833eee257d881ec9c5096914e02776335f1 (patch)
treef4d458657147f96123c4d3767dbb829a6932e3dd /build.bash
parentdbd400d930ccd790c2918f6382c0efaeb353c282 (diff)
build.bash: handle args containing spaces
Fixes ./build.bash -tags "enable_trezor without_openssl"
Diffstat (limited to 'build.bash')
-rwxr-xr-xbuild.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.bash b/build.bash
index fa036ae..6f7f7d8 100755
--- a/build.bash
+++ b/build.bash
@@ -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