BZ 1083557 - take out usage of $() syntax since Bourne shell doesn't like it (which affects Solaris 10 for example)