From 2c32dc6ca42a2ea1f55d481a8e1470a914635b8b Mon Sep 17 00:00:00 2001 From: "Madhusudan.C.S" Date: Tue, 16 Aug 2016 22:50:43 -0700 Subject: [PATCH] Provide absolute path to cross build image VERSION file. This allows invoking builds from non-root directories. --- build/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/common.sh b/build/common.sh index feaba83ed9b..32707393a9c 100755 --- a/build/common.sh +++ b/build/common.sh @@ -45,7 +45,7 @@ readonly KUBE_GCS_DELETE_EXISTING="${KUBE_GCS_DELETE_EXISTING:-n}" # Constants readonly KUBE_BUILD_IMAGE_REPO=kube-build -readonly KUBE_BUILD_IMAGE_CROSS_TAG="$(cat build/build-image/cross/VERSION)" +readonly KUBE_BUILD_IMAGE_CROSS_TAG="$(cat ${KUBE_ROOT}/build/build-image/cross/VERSION)" # KUBE_BUILD_DATA_CONTAINER_NAME=kube-build-data-" # Here we map the output directories across both the local and remote _output