Merge pull request #77137 from Huang-Wei/make-clean-regression

Fixed a `make clean` regression
This commit is contained in:
Kubernetes Prow Robot 2019-05-01 15:50:32 -07:00 committed by GitHub
commit 576ec2cee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ CLEAN_PATTERNS=(
)
for pattern in "${CLEAN_PATTERNS[@]}"; do
while IFS=$'\n' read -r -d match; do
while IFS=$'\n' read -r match; do
echo "Removing ${match#${KUBE_ROOT}\/} .."
rm -rf "${match#${KUBE_ROOT}\/}"
done < <(find "${KUBE_ROOT}" -iregex "^${KUBE_ROOT}/${pattern}$")