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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user