forked from lix-project/hydra
Don't add a nix-build build product unless $out is a directory
This commit is contained in:
parent
1f1615e80b
commit
77e37c1ea3
|
@ -362,6 +362,7 @@ sub addBuildProducts {
|
|||
|
||||
foreach my $output ($build->buildoutputs->all) {
|
||||
my $outPath = $output->path;
|
||||
next unless -d $outPath;
|
||||
$db->resultset('BuildProducts')->create(
|
||||
{ build => $build->id
|
||||
, productnr => $productnr++
|
||||
|
|
Loading…
Reference in a new issue