Skip to content

Commit

Permalink
buildEnv: fix bulder.pl (addPkg argument ignoreSingleFileOutputs)
Browse files Browse the repository at this point in the history
Specify the ignoreSingleFileOutputs parameter wherever calling addPkg.
  • Loading branch information
ShamrockLee committed Dec 9, 2024
1 parent ceb6272 commit a993958
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/build-support/buildenv/builder.pl
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ sub addPkg {
for my $path (@{$pkg->{paths}}) {
addPkg($path,
$ENV{"ignoreCollisions"} eq "1",
$ENV{"ignoreSingleFileOutputs"} eq "1",
$ENV{"checkCollisionContents"} eq "1",
$pkg->{priority})
if -e $path;
Expand All @@ -256,7 +257,7 @@ sub addPkg {
my @pkgDirs = keys %postponed;
%postponed = ();
foreach my $pkgDir (sort @pkgDirs) {
addPkg($pkgDir, 2, $ENV{"checkCollisionContents"} eq "1", $priorityCounter++);
addPkg($pkgDir, 2, $ENV{"ignoreSingleFileOutputs"} eq "1", $ENV{"checkCollisionContents"} eq "1", $priorityCounter++);
}
}

Expand All @@ -268,6 +269,7 @@ sub addPkg {
chomp $line;
addPkg($line,
$ENV{"ignoreCollisions"} eq "1",
$ENV{"ignoreSingleFileOutputs"} eq "1",
$ENV{"checkCollisionContents"} eq "1",
1000)
if -d $line;
Expand Down

0 comments on commit a993958

Please sign in to comment.