diff --git a/Makefile b/Makefile index 02f6046625..314b73c903 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath .) BUILD_LIB=${BASE_DIRECTORY}/build/lib AWS_ACCOUNT_ID?=$(shell aws sts get-caller-identity --query Account --output text) AWS_REGION?=us-west-2 diff --git a/projects/apache/cloudstack-cloudmonkey/Makefile b/projects/apache/cloudstack-cloudmonkey/Makefile index 73fea3fe6f..1ba258bdba 100644 --- a/projects/apache/cloudstack-cloudmonkey/Makefile +++ b/projects/apache/cloudstack-cloudmonkey/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=cloudstack-cloudmonkey diff --git a/projects/aquasecurity/harbor-scanner-trivy/Makefile b/projects/aquasecurity/harbor-scanner-trivy/Makefile index ef00c068e9..4de1c57624 100644 --- a/projects/aquasecurity/harbor-scanner-trivy/Makefile +++ b/projects/aquasecurity/harbor-scanner-trivy/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=harbor-scanner-trivy diff --git a/projects/aquasecurity/trivy/Makefile b/projects/aquasecurity/trivy/Makefile index 8e0b8f78c8..89bb006bac 100644 --- a/projects/aquasecurity/trivy/Makefile +++ b/projects/aquasecurity/trivy/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=trivy diff --git a/projects/aws-containers/hello-eks-anywhere/Makefile b/projects/aws-containers/hello-eks-anywhere/Makefile index 68ece101f7..36ed9c1c28 100755 --- a/projects/aws-containers/hello-eks-anywhere/Makefile +++ b/projects/aws-containers/hello-eks-anywhere/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=hello-eks-anywhere diff --git a/projects/aws-observability/aws-otel-collector/Makefile b/projects/aws-observability/aws-otel-collector/Makefile index 0d99282204..72da016279 100644 --- a/projects/aws-observability/aws-otel-collector/Makefile +++ b/projects/aws-observability/aws-otel-collector/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) HELM_GIT_TAG:=$(shell cat HELM_GIT_TAG) # Upstream images are used directly without re-building and re-tagging in build diff --git a/projects/aws/cluster-api-provider-aws-snow/Makefile b/projects/aws/cluster-api-provider-aws-snow/Makefile index 07caffe7b2..7ae0449c0a 100644 --- a/projects/aws/cluster-api-provider-aws-snow/Makefile +++ b/projects/aws/cluster-api-provider-aws-snow/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) REPO=cluster-api-provider-aws-snow diff --git a/projects/aws/eks-a-admin-image/Makefile b/projects/aws/eks-a-admin-image/Makefile index 787fd83bda..07f82f79a8 100644 --- a/projects/aws/eks-a-admin-image/Makefile +++ b/projects/aws/eks-a-admin-image/Makefile @@ -1,6 +1,6 @@ -include .env -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG=0.0.0-dev # This value does not matter but needs to be set SIMPLE_CREATE_BINARIES=false diff --git a/projects/aws/eks-anywhere-build-tooling/Makefile b/projects/aws/eks-anywhere-build-tooling/Makefile index 4e00a29af4..7226e2012a 100644 --- a/projects/aws/eks-anywhere-build-tooling/Makefile +++ b/projects/aws/eks-anywhere-build-tooling/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) REPO=eks-anywhere-build-tooling diff --git a/projects/aws/eks-anywhere-packages/Makefile b/projects/aws/eks-anywhere-packages/Makefile index 83bf91e76b..c9e4b3f772 100644 --- a/projects/aws/eks-anywhere-packages/Makefile +++ b/projects/aws/eks-anywhere-packages/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG?=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) diff --git a/projects/aws/eks-anywhere/Makefile b/projects/aws/eks-anywhere/Makefile index 1b9896094e..46b8d5505c 100644 --- a/projects/aws/eks-anywhere/Makefile +++ b/projects/aws/eks-anywhere/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) REPO=eks-anywhere diff --git a/projects/aws/etcdadm-bootstrap-provider/Makefile b/projects/aws/etcdadm-bootstrap-provider/Makefile index 628403d946..0709df0aaa 100644 --- a/projects/aws/etcdadm-bootstrap-provider/Makefile +++ b/projects/aws/etcdadm-bootstrap-provider/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=etcdadm-bootstrap-provider diff --git a/projects/aws/etcdadm-controller/Makefile b/projects/aws/etcdadm-controller/Makefile index 1b1516d2f8..93ac72f566 100644 --- a/projects/aws/etcdadm-controller/Makefile +++ b/projects/aws/etcdadm-controller/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=etcdadm-controller diff --git a/projects/aws/rolesanywhere-credential-helper/Makefile b/projects/aws/rolesanywhere-credential-helper/Makefile index a880ee68b5..b95a107cdd 100644 --- a/projects/aws/rolesanywhere-credential-helper/Makefile +++ b/projects/aws/rolesanywhere-credential-helper/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=rolesanywhere-credential-helper diff --git a/projects/brancz/kube-rbac-proxy/Makefile b/projects/brancz/kube-rbac-proxy/Makefile index a3b6b15ac9..80809dce0d 100644 --- a/projects/brancz/kube-rbac-proxy/Makefile +++ b/projects/brancz/kube-rbac-proxy/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=kube-rbac-proxy diff --git a/projects/cilium/cilium/Makefile b/projects/cilium/cilium/Makefile index 996cb254a3..1769e49f4b 100644 --- a/projects/cilium/cilium/Makefile +++ b/projects/cilium/cilium/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) CHART_TAG:=$(shell echo $(GIT_TAG) | sed 's/^v//') diff --git a/projects/containerd/containerd/Makefile b/projects/containerd/containerd/Makefile index 8fc8d52dfa..c749dbab86 100644 --- a/projects/containerd/containerd/Makefile +++ b/projects/containerd/containerd/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=containerd diff --git a/projects/distribution/distribution/Makefile b/projects/distribution/distribution/Makefile index 49172187d1..fba088080c 100644 --- a/projects/distribution/distribution/Makefile +++ b/projects/distribution/distribution/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=distribution diff --git a/projects/emissary-ingress/emissary/Makefile b/projects/emissary-ingress/emissary/Makefile index fb5d85e926..c57b8020e7 100644 --- a/projects/emissary-ingress/emissary/Makefile +++ b/projects/emissary-ingress/emissary/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) APPMESH_VERSION:=$(shell cat APPMESH_VERSION) diff --git a/projects/envoyproxy/envoy/Makefile b/projects/envoyproxy/envoy/Makefile index eb3488c860..05e90fd89a 100644 --- a/projects/envoyproxy/envoy/Makefile +++ b/projects/envoyproxy/envoy/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) ENVOY_IMAGE=public.ecr.aws/appmesh/aws-appmesh-envoy:$(GIT_TAG) diff --git a/projects/fluxcd/flux2/Makefile b/projects/fluxcd/flux2/Makefile index 774bd85e25..edd87ccf4c 100644 --- a/projects/fluxcd/flux2/Makefile +++ b/projects/fluxcd/flux2/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=flux2 diff --git a/projects/fluxcd/helm-controller/Makefile b/projects/fluxcd/helm-controller/Makefile index 18af5f9373..c05ffd6503 100644 --- a/projects/fluxcd/helm-controller/Makefile +++ b/projects/fluxcd/helm-controller/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=helm-controller diff --git a/projects/fluxcd/kustomize-controller/Makefile b/projects/fluxcd/kustomize-controller/Makefile index 661e317106..d30d6d0110 100644 --- a/projects/fluxcd/kustomize-controller/Makefile +++ b/projects/fluxcd/kustomize-controller/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=kustomize-controller diff --git a/projects/fluxcd/notification-controller/Makefile b/projects/fluxcd/notification-controller/Makefile index f3a3310894..08f1a4a93e 100644 --- a/projects/fluxcd/notification-controller/Makefile +++ b/projects/fluxcd/notification-controller/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=notification-controller diff --git a/projects/fluxcd/source-controller/Makefile b/projects/fluxcd/source-controller/Makefile index bb7e2fc809..85557ef80f 100644 --- a/projects/fluxcd/source-controller/Makefile +++ b/projects/fluxcd/source-controller/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=source-controller diff --git a/projects/goharbor/harbor/Makefile b/projects/goharbor/harbor/Makefile index f6ac2c55e1..3b1d7d53d5 100644 --- a/projects/goharbor/harbor/Makefile +++ b/projects/goharbor/harbor/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) diff --git a/projects/helm/helm/Makefile b/projects/helm/helm/Makefile index 373b6fe6ef..a14c15050c 100644 --- a/projects/helm/helm/Makefile +++ b/projects/helm/helm/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=helm diff --git a/projects/kube-vip/kube-vip/Makefile b/projects/kube-vip/kube-vip/Makefile index 44c28b91cf..fd5a807180 100644 --- a/projects/kube-vip/kube-vip/Makefile +++ b/projects/kube-vip/kube-vip/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=kube-vip diff --git a/projects/kubernetes-sigs/cluster-api-provider-cloudstack/Makefile b/projects/kubernetes-sigs/cluster-api-provider-cloudstack/Makefile index 003f46a23f..09c4df8da2 100644 --- a/projects/kubernetes-sigs/cluster-api-provider-cloudstack/Makefile +++ b/projects/kubernetes-sigs/cluster-api-provider-cloudstack/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=cluster-api-provider-cloudstack diff --git a/projects/kubernetes-sigs/cluster-api-provider-vsphere/Makefile b/projects/kubernetes-sigs/cluster-api-provider-vsphere/Makefile index b202898eb7..586d0f7512 100644 --- a/projects/kubernetes-sigs/cluster-api-provider-vsphere/Makefile +++ b/projects/kubernetes-sigs/cluster-api-provider-vsphere/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=cluster-api-provider-vsphere diff --git a/projects/kubernetes-sigs/cluster-api/Makefile b/projects/kubernetes-sigs/cluster-api/Makefile index 3d63a1e667..352a9bf8eb 100644 --- a/projects/kubernetes-sigs/cluster-api/Makefile +++ b/projects/kubernetes-sigs/cluster-api/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=cluster-api diff --git a/projects/kubernetes-sigs/cri-tools/Makefile b/projects/kubernetes-sigs/cri-tools/Makefile index 24ba28bb39..27ef8c10c4 100644 --- a/projects/kubernetes-sigs/cri-tools/Makefile +++ b/projects/kubernetes-sigs/cri-tools/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=cri-tools diff --git a/projects/kubernetes-sigs/etcdadm/Makefile b/projects/kubernetes-sigs/etcdadm/Makefile index ae5abdeeea..c08dd63a8b 100644 --- a/projects/kubernetes-sigs/etcdadm/Makefile +++ b/projects/kubernetes-sigs/etcdadm/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=etcdadm diff --git a/projects/kubernetes-sigs/image-builder/Makefile b/projects/kubernetes-sigs/image-builder/Makefile index 3c63bb347e..0f1502e62e 100644 --- a/projects/kubernetes-sigs/image-builder/Makefile +++ b/projects/kubernetes-sigs/image-builder/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) MAKE_ROOT=$(BASE_DIRECTORY)/projects/kubernetes-sigs/image-builder GIT_TAG:=$(shell cat GIT_TAG) diff --git a/projects/kubernetes-sigs/kind/Makefile b/projects/kubernetes-sigs/kind/Makefile index eae8f3b73b..0341eac261 100644 --- a/projects/kubernetes-sigs/kind/Makefile +++ b/projects/kubernetes-sigs/kind/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=kind diff --git a/projects/kubernetes-sigs/metrics-server/Makefile b/projects/kubernetes-sigs/metrics-server/Makefile index 4c15ee518a..d887170b3d 100644 --- a/projects/kubernetes-sigs/metrics-server/Makefile +++ b/projects/kubernetes-sigs/metrics-server/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG=$(shell source $(BUILD_LIB)/common.sh && build::eksd_releases::get_eksd_component_asset_image_tag metrics-server metrics-server-image $(RELEASE_BRANCH)) HELM_GIT_TAG:=$(shell cat $(RELEASE_BRANCH)/HELM_GIT_TAG) # Upstream images are used directly without re-building and re-tagging in build diff --git a/projects/kubernetes/autoscaler/Makefile b/projects/kubernetes/autoscaler/Makefile index d405cc9e67..408fb622cc 100644 --- a/projects/kubernetes/autoscaler/Makefile +++ b/projects/kubernetes/autoscaler/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG=$(shell cat ./$(RELEASE_BRANCH)/GIT_TAG) GOLANG_VERSION:=$(shell cat ./$(RELEASE_BRANCH)/GOLANG_VERSION) diff --git a/projects/kubernetes/cloud-provider-aws/Makefile b/projects/kubernetes/cloud-provider-aws/Makefile index 3bea116de3..628b7dcb0b 100644 --- a/projects/kubernetes/cloud-provider-aws/Makefile +++ b/projects/kubernetes/cloud-provider-aws/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG=$(shell cat ./$(RELEASE_BRANCH)/GIT_TAG) GOLANG_VERSION:=$(shell cat ./$(RELEASE_BRANCH)/GOLANG_VERSION) diff --git a/projects/kubernetes/cloud-provider-vsphere/Makefile b/projects/kubernetes/cloud-provider-vsphere/Makefile index 0363b9155f..11ffb92139 100644 --- a/projects/kubernetes/cloud-provider-vsphere/Makefile +++ b/projects/kubernetes/cloud-provider-vsphere/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG=$(shell cat ./$(RELEASE_BRANCH)/GIT_TAG) GOLANG_VERSION:=$(shell cat ./$(RELEASE_BRANCH)/GOLANG_VERSION) diff --git a/projects/metallb/metallb/Makefile b/projects/metallb/metallb/Makefile index 3c27aa405d..f0a0f9c9b4 100644 --- a/projects/metallb/metallb/Makefile +++ b/projects/metallb/metallb/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=metallb diff --git a/projects/nutanix-cloud-native/cluster-api-provider-nutanix/Makefile b/projects/nutanix-cloud-native/cluster-api-provider-nutanix/Makefile index 709f7e160f..d79d11b6e4 100644 --- a/projects/nutanix-cloud-native/cluster-api-provider-nutanix/Makefile +++ b/projects/nutanix-cloud-native/cluster-api-provider-nutanix/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=cluster-api-provider-nutanix diff --git a/projects/opencontainers/runc/Makefile b/projects/opencontainers/runc/Makefile index f6c7682681..cfeff6a2ba 100644 --- a/projects/opencontainers/runc/Makefile +++ b/projects/opencontainers/runc/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=runc diff --git a/projects/prometheus/node_exporter/Makefile b/projects/prometheus/node_exporter/Makefile index 34044412d4..4617d824d9 100644 --- a/projects/prometheus/node_exporter/Makefile +++ b/projects/prometheus/node_exporter/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=node_exporter diff --git a/projects/prometheus/prometheus/Makefile b/projects/prometheus/prometheus/Makefile index 75ba2c3f61..2de215757d 100644 --- a/projects/prometheus/prometheus/Makefile +++ b/projects/prometheus/prometheus/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) HELM_GIT_TAG:=$(shell cat HELM_GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) diff --git a/projects/rancher/local-path-provisioner/Makefile b/projects/rancher/local-path-provisioner/Makefile index 2952bc4f49..d4672aaef4 100644 --- a/projects/rancher/local-path-provisioner/Makefile +++ b/projects/rancher/local-path-provisioner/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=local-path-provisioner diff --git a/projects/redis/redis/Makefile b/projects/redis/redis/Makefile index 1862a0fc0d..2997638471 100644 --- a/projects/redis/redis/Makefile +++ b/projects/redis/redis/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) REPO=redis diff --git a/projects/replicatedhq/troubleshoot/Makefile b/projects/replicatedhq/troubleshoot/Makefile index 54d46642c3..b14966fb6f 100644 --- a/projects/replicatedhq/troubleshoot/Makefile +++ b/projects/replicatedhq/troubleshoot/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=troubleshoot diff --git a/projects/tinkerbell/boots/Makefile b/projects/tinkerbell/boots/Makefile index 6ae029799e..9512b802f1 100644 --- a/projects/tinkerbell/boots/Makefile +++ b/projects/tinkerbell/boots/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=boots diff --git a/projects/tinkerbell/cluster-api-provider-tinkerbell/Makefile b/projects/tinkerbell/cluster-api-provider-tinkerbell/Makefile index 46a99751fb..64e4e203b1 100644 --- a/projects/tinkerbell/cluster-api-provider-tinkerbell/Makefile +++ b/projects/tinkerbell/cluster-api-provider-tinkerbell/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=cluster-api-provider-tinkerbell diff --git a/projects/tinkerbell/hegel/Makefile b/projects/tinkerbell/hegel/Makefile index f4b1d1d0bc..cc1944db50 100644 --- a/projects/tinkerbell/hegel/Makefile +++ b/projects/tinkerbell/hegel/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=hegel diff --git a/projects/tinkerbell/hook/Makefile b/projects/tinkerbell/hook/Makefile index 80e03941c8..49ab165e58 100644 --- a/projects/tinkerbell/hook/Makefile +++ b/projects/tinkerbell/hook/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) LINUX_KERNEL_VERSION:=$(shell cat LINUX_KERNEL_VERSION) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) diff --git a/projects/tinkerbell/hub/Makefile b/projects/tinkerbell/hub/Makefile index ce00587ed1..42ac7f42db 100644 --- a/projects/tinkerbell/hub/Makefile +++ b/projects/tinkerbell/hub/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=hub diff --git a/projects/tinkerbell/rufio/Makefile b/projects/tinkerbell/rufio/Makefile index 9e8f19af6e..2e9dc774bd 100644 --- a/projects/tinkerbell/rufio/Makefile +++ b/projects/tinkerbell/rufio/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=rufio diff --git a/projects/tinkerbell/tink/Makefile b/projects/tinkerbell/tink/Makefile index 74202ce807..5652405147 100644 --- a/projects/tinkerbell/tink/Makefile +++ b/projects/tinkerbell/tink/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=tink diff --git a/projects/tinkerbell/tinkerbell-chart/Makefile b/projects/tinkerbell/tinkerbell-chart/Makefile index 7728ce7912..493a7799af 100644 --- a/projects/tinkerbell/tinkerbell-chart/Makefile +++ b/projects/tinkerbell/tinkerbell-chart/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) REPO_OWNER=tinkerbell diff --git a/projects/torvalds/linux/Makefile b/projects/torvalds/linux/Makefile index c95f3cb965..7b02e6f1b5 100644 --- a/projects/torvalds/linux/Makefile +++ b/projects/torvalds/linux/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) REPO=linux diff --git a/projects/vmware/govmomi/Makefile b/projects/vmware/govmomi/Makefile index 7a0f23c9b4..452d686069 100644 --- a/projects/vmware/govmomi/Makefile +++ b/projects/vmware/govmomi/Makefile @@ -1,4 +1,4 @@ -BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) +BASE_DIRECTORY:=$(abspath ../../../) GIT_TAG:=$(shell cat GIT_TAG) GOLANG_VERSION:=$(shell cat GOLANG_VERSION) REPO=govmomi