I guess SunOS uses System V specification which is older than POSIX and only supports `` syntax. If you look at autotools they never generate $() to make sure it wil work everywhere even on older /bin/sh

czw., 28 lis 2019 o 14:33 David Demelier via Boost-users <boost-users@lists.boost.org> napisał(a):
Le 28/11/2019 à 12:22, Piotr Kowalski via Boost-users a écrit :
> build.sh is intended for /bin/sh but uses bash-specific syntax $(command)

$() is part of POSIX though so I suppose the SunOS default shell isn't
POSIX compliant or too old.

Regards,

--
David
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users