use scalar not hash notation b=352230 r=preed

git-svn-id: svn://10.0.0.236/trunk@213275 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rhelmer%mozilla.com
2006-10-07 01:27:49 +00:00
parent e4c696703c
commit 664e018e83

View File

@@ -74,7 +74,7 @@ sub DetermineSteps() {
} else {
$stepNumber += 1;
}
if ($stepNumber > $#allSteps) {
if ($stepNumber > scalar(@allSteps)) {
die("Step $desiredStep not found!\n");
}
}
@@ -82,7 +82,7 @@ sub DetermineSteps() {
print "Bootstrap running default steps.\n";
}
while ($currentStep < $#allSteps) {
while ($currentStep < scalar(@allSteps)) {
my $stepName = $allSteps[$currentStep];
PerformStep( 'stepName' => $stepName );
$currentStep += 1;