The emerge-webrsync script has '#!/bin/sh' on its first line, but uses Bash features that aren't present in the standard Bourne shell. This breaks it on platforms such as FreeBSD, where sh and bash are not the same thing. Suggested fix: change the first line to '#!/bin/bash'. This probably applies to a few more scripts as well, but emerge-webrsync is the one where I noticed it.
Fixed this one. The only other two scripts marked /bin/sh are dojar and find-requires. I'm not familiar enough with what constitues a bashism, so if you check them out I'll mark/leave them as necessary.
Marking this one fixed since, seemingly, it is.