http://bugs.winehq.org/show_bug.cgi?id=12465
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2008-04-10 04:47:22 --- (In reply to comment #0)
This is due the fact that Solaris's /bin/sh is Bourne shell and not BASH as on Linux. Therefore it's not capable of command substitution via $(command) syntax.
Actually it's not specific to bash, that syntax has been in Posix for at least 10 years. But of course we should still have a workaround, until Solaris catches up with the 1990's...