I don't think it makes sense, that the icons are xmllint'ed every time someone builds the icons.
This is an action that should take place once, before cutting the next release.
Also, from a first glance, the scripts do not actually require bash, and should work with -- let's call it 'standard' -- /bin/sh.