diff options
author | Pascal Terjan <pterjan@gmail.com> | 2014-04-18 16:29:54 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2014-04-18 16:29:54 +0000 |
commit | 434931c792ecc5cbf29aa605289c4d7cf43c511b (patch) | |
tree | 27601607261240d4b49c90807c8b07146e27a2c6 /ulri | |
parent | f6ed57f67f07a19e62a0b07050510e832cc9ca1a (diff) | |
download | iurt-434931c792ecc5cbf29aa605289c4d7cf43c511b.tar iurt-434931c792ecc5cbf29aa605289c4d7cf43c511b.tar.gz iurt-434931c792ecc5cbf29aa605289c4d7cf43c511b.tar.bz2 iurt-434931c792ecc5cbf29aa605289c4d7cf43c511b.tar.xz iurt-434931c792ecc5cbf29aa605289c4d7cf43c511b.zip |
Fix syntax when there are dependencies
Diffstat (limited to 'ulri')
-rwxr-xr-x | ulri | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -285,10 +285,11 @@ sub todo_func { open my $FILE, "<$todo/$f/$m/$s/$r"; while(my $line = <$FILE>) { chomp $line; + plog('DEBUG', "Adding dependency $line ($prefix)"); push @deps,$line; } - $pkg_tree{$prefix}{deps} = @deps; + $pkg_tree{$prefix}{deps} = \@deps; } } @@ -533,6 +534,7 @@ foreach my $prefix (sort keys %pkg_tree) { next; } # $dep was not uploaded yet, so it's too early to build this one + plog('DEBUG', "Dependent build $dep not ready ($prefix)"); $ready = 0; if (glob "$reject/*/*/*/$dep.youri" || glob "$done/*/*/*/${dep}_*.fail") { plog('ERROR', "Dependent build $dep has failed"); @@ -554,6 +556,7 @@ foreach my $prefix (sort keys %pkg_tree) { } next unless $ready; + plog('DEBUG', "No missing dependent build for $prefix"); foreach my $media (keys %{$ent->{media}}) { my $path = $ent->{media}{$media}{path}; |