diff options
Diffstat (limited to 'scripts/gen_ebuild.pl')
-rwxr-xr-x | scripts/gen_ebuild.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/gen_ebuild.pl b/scripts/gen_ebuild.pl index 2181a5422..a54a665fd 100755 --- a/scripts/gen_ebuild.pl +++ b/scripts/gen_ebuild.pl @@ -178,6 +178,9 @@ my $oddlic = { }, }; +if ( not ref $release_info->{license} ) { + $release_info->{license} = [ $release_info->{license} ]; +} for my $lic ( @{ $release_info->{license} } ) { if ( exists $licmap->{$lic} ) { push @$lics, @{ $licmap->{$lic} }; |