Sure, one could try to safe the world by reverting all Bashisms that pretend to be /bin/sh, but that ship has sailed loooong ago. IMHO this is the easiest fix. But if anyone cares to implement another solution, I don't mind.
> The interpreter of icu-config should probably be changed
Can't that echo be re-written as a printf?