diff options
Diffstat (limited to 'bin/youri-submit')
-rwxr-xr-x | bin/youri-submit | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/youri-submit b/bin/youri-submit index ee5e3c3..d7acc14 100755 --- a/bin/youri-submit +++ b/bin/youri-submit @@ -324,10 +324,11 @@ exit(1) unless $ok; # create packages group my @packages_group; my $group_error; -foreach my $group ((map { [ { section => "", file => $_ } ] } @ARGV), @$pre_packages) { +foreach my $group ([ map { { section => "", file => $_ } } @ARGV ], @$pre_packages) { my @packages; foreach my $opt (@$group) { print "Preparing upload for $opt->{file}\n" if $verbose; + $repository->{packages}{$opt->{file}}{section} = $opt->{section}; push( @packages, create_instance( |