mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 14:31:02 +02:00
eclass/coreos-go: Add debug-print statements
Add debug-print statements for the values of GOARCH, GOPATH, and GOBIN. Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
parent
b4343c1f69
commit
97e97a0ce6
@ -42,6 +42,11 @@ coreos-go_src_prepare() {
|
||||
export GOARCH=$(go_get_arch)
|
||||
export GOPATH="${WORKDIR}/gopath"
|
||||
export GOBIN="${GOPATH}/bin"
|
||||
|
||||
debug-print "${FUNCNAME}: GOARCH=${GOARCH}"
|
||||
debug-print "${FUNCNAME}: GOPATH=${GOPATH}"
|
||||
debug-print "${FUNCNAME}: GOBIN=${GOBIN}"
|
||||
|
||||
mkdir -p "${GOBIN}" || die "${ECLASS}: bad path: ${GOBIN}"
|
||||
|
||||
if [[ -z "${COREOS_GO_PACKAGE}" ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user