From b7d82a33244743f0169d1ca0d78219f9901ba59f Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 7 Dec 2009 14:41:56 +0000 Subject: Commit the working version of build_all --- iurt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iurt2') 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: $!"; -- cgit v1.2.1