]> git.donarmstrong.com Git - wannabuild.git/commitdiff
call_edos_depcheck: don't do anything if no packages need to be checked
authorAndreas Barth <aba@not.so.argh.org>
Mon, 24 May 2010 23:46:15 +0000 (23:46 +0000)
committerAndreas Barth <aba@not.so.argh.org>
Mon, 24 May 2010 23:46:15 +0000 (23:46 +0000)
bin/wanna-build

index b267e4a52223bf36c3e19107b118cde3e0a7a8db..ea6155e5c5d798cb8790794951b5c3554f608b84 100755 (executable)
@@ -2382,6 +2382,7 @@ sub call_edos_depcheck {
     
     #print "I would look at these sources with edos-depcheck:\n";
     #print join " ", keys %interesting_packages,"\n";
+    return unless %interesting_packages;
 
     my $tmpfile_pattern = "/tmp/wanna-build-interesting-sources-$distribution.$$-XXXXX";
     use File::Temp qw/ tempfile /;