fixup! license filtering

This commit is contained in:
Krzesimir Nowak 2025-08-05 20:29:16 +02:00
parent 83fb85ee81
commit a7df8f816b

View File

@ -3758,8 +3758,8 @@ function drop_unused_licenses() {
local -a to_be_dropped=()
for file in "${NEW_PORTAGE_STABLE}/licenses/"*; do
basename_out "${file}" dul_license
if [[ -z ${used_licenses_set_ref["${license}"]:-} ]]; then
to_be_dropped+=( "${license}" )
if [[ -z ${used_licenses_set_ref["${dul_license}"]:-} ]]; then
to_be_dropped+=( "${dul_license}" )
fi
done