Merge pull request #48958 from cpuguy83/autogo_to_the_future

Down with the sickness (AUTO_GOPATH)
This commit is contained in:
Sebastiaan van Stijn
2025-01-02 23:55:45 +01:00
committed by GitHub

View File

@@ -77,12 +77,6 @@ if [ "$AUTO_GOPATH" ]; then
export GOPATH="${PWD}/.gopath"
fi
if [ ! "$GOPATH" ]; then
echo >&2 'error: missing GOPATH; please see https://pkg.go.dev/cmd/go#hdr-GOPATH_environment_variable'
echo >&2 ' alternatively, set AUTO_GOPATH=1'
exit 1
fi
if [ -z "${EXCLUDE_AUTO_BUILDTAG_JOURNALD:-}" ] && ${PKG_CONFIG} 'libsystemd' 2> /dev/null; then
DOCKER_BUILDTAGS+=" journald"
fi