e25d551e18
Fedora 28 executes A LOT of stuff from /usr/share/Modules/ on bash startup. Having -x in the shebang means we see it all.
15 lines
241 B
Bash
Executable File
15 lines
241 B
Bash
Executable File
#!/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
|
|
|
|
# The cross-built binary is not useful on the compile host.
|
|
rm gocryptfs
|