Skip to content

Commit

Permalink
Avoid duplicated contrib/ sources
Browse files Browse the repository at this point in the history
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 kubernetes#30150
  • Loading branch information
Michal Rostecki committed Aug 10, 2016
1 parent ae40543 commit 5a85ed7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
}

Expand Down

0 comments on commit 5a85ed7

Please sign in to comment.