aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-02-09 22:09:58 +0000
committerOlivier Blin <oblin@mandriva.com>2007-02-09 22:09:58 +0000
commit37decd2a994b5e95bbafcb1b4752e09c17128437 (patch)
tree7ba98d5919c60ca5cc1635db922ccf6fd046eec1
parentcd30619350ed24be4ee7597ba54a7826a05904cd (diff)
downloadmga-youri-submit-37decd2a994b5e95bbafcb1b4752e09c17128437.tar
mga-youri-submit-37decd2a994b5e95bbafcb1b4752e09c17128437.tar.gz
mga-youri-submit-37decd2a994b5e95bbafcb1b4752e09c17128437.tar.bz2
mga-youri-submit-37decd2a994b5e95bbafcb1b4752e09c17128437.tar.xz
mga-youri-submit-37decd2a994b5e95bbafcb1b4752e09c17128437.zip
merge changes from ken/kenobi
-rwxr-xr-xbin/youri-submit3
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(