Subject: [Boost-bugs] [Boost C++ Libraries] #12785: building in solaris 10: ./build.sh: syntax error at line 135: `machine=$' unexpected
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-24 20:10:22
#12785: building in solaris 10: ./build.sh: syntax error at line 135: `machine=$'
unexpected
----------------------------+--------------------------
Reporter: anonymous | Type: Bugs
Status: new | Milestone: Boost 1.65.0
Component: Building Boost | Version: Boost 1.63.0
Severity: Problem | Keywords:
----------------------------+--------------------------
This is happening because of:
{{{
tools/build/src/engine/build.sh:135: machine=$(gcc -dumpmachine
2>/dev/null)
}}}
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?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12785> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC