Opened 6 years ago

#12785 new Bugs

building in solaris 10: ./build.sh: syntax error at line 135: `machine=$' unexpected

Reported by: anonymous Owned by:
Milestone: Boost 1.65.0 Component: Building Boost
Version: Boost 1.63.0 Severity: Problem
Keywords: Cc:

Description

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?

Change History (0)

Note: See TracTickets for help on using tickets.