Fixed a make clean regression.

This commit is contained in:
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

View File

@ -29,7 +29,7 @@ CLEAN_PATTERNS=(
) )
for pattern in "${CLEAN_PATTERNS[@]}"; do 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}\/} .." echo "Removing ${match#${KUBE_ROOT}\/} .."
rm -rf "${match#${KUBE_ROOT}\/}" rm -rf "${match#${KUBE_ROOT}\/}"
done < <(find "${KUBE_ROOT}" -iregex "^${KUBE_ROOT}/${pattern}$") done < <(find "${KUBE_ROOT}" -iregex "^${KUBE_ROOT}/${pattern}$")