変数を局所化する local は sh ですか? それとも bash ですか?