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.
This commit is contained in:
Jakob Unterwurzacher 2018-05-15 23:04:52 +02:00
parent 7b00681807
commit e25d551e18
1 changed files with 3 additions and 1 deletions

View File

@ -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