Another fix for BASH 2: “local” statements and initial value assignment now separated. (Best practice anyway.)