diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-24 15:37:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-24 15:37:27 +0000 |
commit | ace0990be2a0b54c662035699d998b28edcee160 (patch) | |
tree | c48a50d250a892e38619dcbb9d91cc14b04fca00 | |
parent | 048957e46f49c8938f290e9de6f6cf517b962fa7 (diff) | |
download | iurt-ace0990be2a0b54c662035699d998b28edcee160.tar iurt-ace0990be2a0b54c662035699d998b28edcee160.tar.gz iurt-ace0990be2a0b54c662035699d998b28edcee160.tar.bz2 iurt-ace0990be2a0b54c662035699d998b28edcee160.tar.xz iurt-ace0990be2a0b54c662035699d998b28edcee160.zip |
(upload_prefix_in_section) last param is optional
(helps perl_checker)
-rwxr-xr-x | emi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -240,7 +240,7 @@ foreach my $prefix (sort keys %pkg_tree) { } sub upload_prefix_in_section { - my ($prefix, $section, $finish) = @_; + my ($prefix, $section, $o_finish) = @_; my @packages; my ($user) = $prefix =~ /\d{14}\.(\w+)\.\w+\.\d+$/; my $target = $pkg_tree{$prefix}{target}; @@ -255,7 +255,7 @@ sub upload_prefix_in_section { $user ||= $config->{upload_user}; # FIXME we want to skip all post, we should not hardcode them here - my $skip = $finish ? "" : "--skip-post genhdlist2 --skip-post mirror --skip-post clean_rpmsrate"; + my $skip = $o_finish ? "" : "--skip-post genhdlist2 --skip-post mirror --skip-post clean_rpmsrate"; my $command = "/usr/bin/perl -I/usr/share/mga-youri-submit/lib /usr/share/mga-youri-submit/bin/youri-submit --verbose --config /etc/youri/submit-upload.conf --define user=$user --define prefix=$prefix --define section=$section $skip $target @packages &> $done/$path/$prefix.youri"; plog('DEBUG', "running $command"); |