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
This commit is contained in:
Michal Rostecki
2016-08-09 15:58:55 +02:00
parent ae405437e1
commit 5a85ed7646

View File

@@ -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[@]}"
}