mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
LIBMAN: added support for wildcards in exclusion list
This commit is contained in:
parent
e99fa80615
commit
840b1529a3
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue