LIBMAN: added support for wildcards in exclusion list

This commit is contained in:
XargonWan 2025-01-23 09:24:49 +09:00
parent e99fa80615
commit 840b1529a3

View file

@ -65,7 +65,7 @@ fi
is_excluded() {
local file="$1"
for excluded in "${excluded_libraries[@]}"; do
if [[ "$excluded" == "$file" ]]; then
if [[ "$file" == $excluded ]]; then # NOTE excluded is not quoted to allow for wildcard matching
return 0
fi
done