[BZ  1158948]  rhqctl start on solaris 10 shows error- Cannot find the RHQ Agent start script. Provide an alternative on OS/X for $() syntax as solaris doesnt like it even if it is not in the evaluated conditional path (Solaris parses the whole script).
(cherry picked from commit 5180f0539b678d1c89ed848844dfdd85e423d379)

Signed-off-by: John Mazzitelli <mazz@redhat.com>