Fixed a `make clean` regression.

parent 62219e1f
...@@ -29,7 +29,7 @@ CLEAN_PATTERNS=( ...@@ -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}$")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment