Boost C++ Libraries: Ticket #12785: building in solaris 10: ./build.sh: syntax error at line 135: `machine=$' unexpected https://svn.boost.org/trac10/ticket/12785 <p> This is happening because of: </p> <pre class="wiki">tools/build/src/engine/build.sh:135: machine=$(gcc -dumpmachine 2&gt;/dev/null) </pre><p> In solaris 10 the version of csh standing in for /bin/sh doesn't allow that syntax. As a workaround I changed the shebang line to use /bin/bash. Wherever scripts get executed by bootstrap.sh would it be possible to make it overtly call out a shell (eg, use ${SHELL}, ${CONFIG_SHELL} or something) instead of relying on the shebang line? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12785 Trac 1.4.3