summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorBeman Dawes <bdawes@acm.org>2009-11-13 14:58:03 +0000
committerBeman Dawes <bdawes@acm.org>2009-11-13 14:58:03 +0000
commit99d74fb0d7db2b9cc85853f3d76bfc129a993404 (patch)
tree524f5d4607ac91a32fb5c83d7d30a91ae47f182e /bootstrap.sh
parentb77b36639fea3ee7b7add12cf6b3139ecc1e4cc8 (diff)
downloadboost-99d74fb0d7db2b9cc85853f3d76bfc129a993404.tar.gz
root: merge trunk
[SVN r57638]
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index c59d8e56fb..70708f44e4 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -215,7 +215,13 @@ rm -f config.log
if test "x$BJAM" = x; then
echo -n "Building Boost.Jam with toolset $TOOLSET... "
pwd=`pwd`
- cd "$my_dir/tools/jam/src" && ./build.sh "$TOOLSET" > config.log 2>&1
+ (cd "$my_dir/tools/jam/src" && ./build.sh "$TOOLSET") > bootstrap.log 2>&1
+ if [ $? -ne 0 ]; then
+ echo
+ echo "Failed to build Boost.Jam"
+ echo "Consult 'bootstrap.log' for more details"
+ exit 1
+ fi
cd "$pwd"
arch=`cd $my_dir/tools/jam/src && ./bootstrap/jam0 -d0 -f build.jam --toolset=$TOOLSET --toolset-root= --show-locate-target && cd ..`
BJAM="$my_dir/tools/jam/src/$arch/bjam"