Fixed a `make clean` regression.

k3s-v1.15.3
Wei Huang 2019-04-26 11:52:21 -07:00
parent 62219e1f66
commit 7193252386
No known key found for this signature in database
GPG Key ID: BE5E9752F8B6E005
1 changed files with 1 additions and 1 deletions

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}$")