aboutsummaryrefslogtreecommitdiffstats
path: root/emi
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 15:37:27 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 15:37:27 +0000
commitace0990be2a0b54c662035699d998b28edcee160 (patch)
treec48a50d250a892e38619dcbb9d91cc14b04fca00 /emi
parent048957e46f49c8938f290e9de6f6cf517b962fa7 (diff)
downloadiurt-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)
Diffstat (limited to 'emi')
-rwxr-xr-xemi4
1 files changed, 2 insertions, 2 deletions
diff --git a/emi b/emi
index 0474951..57b51b7 100755
--- a/emi
+++ b/emi
@@ -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");