mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-01 09:18:45 +00:00
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:
@@ -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[@]}"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user