Permalink
Browse files

[backend] do not use undef as build config when calling readdeps

  • Loading branch information...
1 parent 9ad4343 commit 08ac7bee176c945629e4fac98c5bfa92f2bdfa74 @mlschroe mlschroe committed with adrianschroeter Jul 26, 2010
Showing with 2 additions and 1 deletion.
  1. +1 −0 ReleaseNotes-2.0.6
  2. +1 −1 src/backend/bs_repserver
View
@@ -19,5 +19,6 @@ Fixes:
* api: submit request to a project without the package, but linked project works now
* api: fix runtime error when using group permissions in attribute permissions
* api: fix a crash in webui when using the status view due to missing attribute
+* backend: fixed prefer-pkgs support for local build
* backend: dispatcher takes care of badhosts now and is not assigning the job again to the host
View
@@ -1737,7 +1737,7 @@ sub getbuildinfo {
if ($pdata->{'ldepfile'}) {
# have local deps, add them to pool
my $data = {};
- Build::readdeps(undef, $data, $pdata->{'ldepfile'});
+ Build::readdeps({ %$bconf }, $data, $pdata->{'ldepfile'});
my $r = $pool->repofromdata('', $data);
die("ldepfile repo add failed\n") unless $r;
}

0 comments on commit 08ac7be

Please sign in to comment.