Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2bd416e7f9 | |||
| e4469cb67d |
@@ -97,14 +97,12 @@ function remove-whitespace {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
excludes+=(")" "-type d" "-prune")
|
excludes+=(")" "-type d" "-prune" "-o")
|
||||||
|
|
||||||
for arg in "${exclude_files[@]}"; do
|
for arg in "${exclude_files[@]}"; do
|
||||||
excludes+=("-not" "-name" "${arg}")
|
excludes+=("-not" "-name" "${arg}")
|
||||||
done
|
done
|
||||||
|
|
||||||
excludes+=("-o")
|
|
||||||
|
|
||||||
for arg in "${path_args[@]}"; do
|
for arg in "${path_args[@]}"; do
|
||||||
files=("$(
|
files=("$(
|
||||||
find "${arg}" \
|
find "${arg}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user