summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_ebuild.pl3
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} };