From 5a85ed76464f550798b741a4f3c0b14e7371ac80 Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Tue, 9 Aug 2016 15:58:55 +0200 Subject: [PATCH] Avoid duplicated contrib/ sources This commit removes a part of common.sh script which copied contrib/ sources for enabled contribs, which resulted in the duplicated files inside tarball. Fixes #30150 --- build/common.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/build/common.sh b/build/common.sh index db27a89a824..2007870f21d 100755 --- a/build/common.sh +++ b/build/common.sh @@ -485,11 +485,6 @@ function kube::build::source_targets() { \( -path ./_\* -o -path ./.git\* \) -prune \ \)) ) - if [ -n "${KUBERNETES_CONTRIB:-}" ]; then - for contrib in "${KUBERNETES_CONTRIB}"; do - targets+=($(eval "kube::contrib::${contrib}::source_targets")) - done - fi echo "${targets[@]}" }