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:
Geoff Levand 2015-05-20 10:45:41 -07:00
parent b4343c1f69
commit 97e97a0ce6

View File

@ -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