aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-12-07 14:41:56 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-12-07 14:41:56 +0000
commitb7d82a33244743f0169d1ca0d78219f9901ba59f (patch)
tree1abc041e0fe59a2294554995060348f25605d5a4 /iurt2
parent6d24aac8c753da218e1d321541afe959f137acfd (diff)
downloadiurt-b7d82a33244743f0169d1ca0d78219f9901ba59f.tar
iurt-b7d82a33244743f0169d1ca0d78219f9901ba59f.tar.gz
iurt-b7d82a33244743f0169d1ca0d78219f9901ba59f.tar.bz2
iurt-b7d82a33244743f0169d1ca0d78219f9901ba59f.tar.xz
iurt-b7d82a33244743f0169d1ca0d78219f9901ba59f.zip
Commit the working version of build_all
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt22
1 files changed, 1 insertions, 1 deletions
diff --git a/iurt2 b/iurt2
index 2befb78..637e342 100755
--- a/iurt2
+++ b/iurt2
@@ -1326,7 +1326,7 @@ sub check_pid {
sub check_media {
my ($run, $cache, $config, $srpm_version, $wrong_rpm, $provides, $pack_provide, $maint) = @_;
# We could rely on only parsing the synthesis, hoping that they are correct, however this scan is very fast, so...
- foreach my $subdir (@{$config->{all_media}{$run->{media}}}) {
+ if (!$run->{build_all}) { foreach my $subdir (@{$config->{all_media}{$run->{media}}}) {
my $rpms_dir = "$config->{repository}/$run->{distro}/$run->{my_arch}/media/$run->{media}/$subdir/";
plog("checking current packages in $rpms_dir");
opendir my $rpmdir, $rpms_dir or die "Could not open $rpms_dir: $!";