Fix bashisms.