From 97e97a0ce626c8e76b3f5bac38c6108c3a6b4bdb Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Wed, 20 May 2015 10:45:41 -0700 Subject: [PATCH] eclass/coreos-go: Add debug-print statements Add debug-print statements for the values of GOARCH, GOPATH, and GOBIN. Signed-off-by: Geoff Levand --- .../src/third_party/coreos-overlay/eclass/coreos-go.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/eclass/coreos-go.eclass b/sdk_container/src/third_party/coreos-overlay/eclass/coreos-go.eclass index 10b4bc5e41..90de14f636 100644 --- a/sdk_container/src/third_party/coreos-overlay/eclass/coreos-go.eclass +++ b/sdk_container/src/third_party/coreos-overlay/eclass/coreos-go.eclass @@ -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