summaryrefslogtreecommitdiff
path: root/crossbuild.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-05-15 23:04:52 +0200
committerJakob Unterwurzacher2018-05-15 23:05:39 +0200
commite25d551e18ffcbd10d3e56d8ac76e14aa80f2f8b (patch)
tree3edd0bfd6adf3fb855101189c75ecea17095b362 /crossbuild.bash
parent7b0068180772b9dd7e0b00ca9e1b0f3ce39c9c23 (diff)
crossbuild.bash: call "set -x" late
Fedora 28 executes A LOT of stuff from /usr/share/Modules/ on bash startup. Having -x in the shebang means we see it all.
Diffstat (limited to 'crossbuild.bash')
-rwxr-xr-xcrossbuild.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/crossbuild.bash b/crossbuild.bash
index a33cb05..0f867d4 100755
--- a/crossbuild.bash
+++ b/crossbuild.bash
@@ -1,9 +1,11 @@
-#!/bin/bash -eux
+#!/bin/bash -eu
cd "$(dirname "$0")"
B="go build -tags without_openssl"
+set -x
+
GOOS=linux GOARCH=arm $B
GOOS=linux GOARCH=arm64 $B
GOOS=darwin GOARCH=amd64 $B