From e25d551e18ffcbd10d3e56d8ac76e14aa80f2f8b Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 15 May 2018 23:04:52 +0200 Subject: [PATCH] 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. --- crossbuild.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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