* Perl sucks. "getBuildLog $drvPath" doesn't mean the same as

"getBuildLog($drvPath)" if you call it in a hash, and quietly screws
  up the rest of the hash.
This commit is contained in:
Eelco Dolstra
2009-03-26 15:32:19 +00:00
parent f0f9f12e42
commit 7b7c3f2265
2 changed files with 4 additions and 10 deletions

View File

@ -32,9 +32,6 @@ sub doBuild {
my $errormsg = undef;
my $failedDepBuild;
my $failedDepStepNr;
if (!isValidPath($outPath)) {
$isCachedBuild = 0;
@ -185,11 +182,9 @@ sub doBuild {
, buildstatus => $buildStatus
, starttime => $startTime
, stoptime => $stopTime
, logfile => getBuildLog $drvPath
, logfile => getBuildLog($drvPath)
, errormsg => $errormsg
, releasename => $releaseName
, faileddepbuild => $failedDepBuild
, faileddepstepnr => $failedDepStepNr
});
if ($buildStatus == 0) {