From e777c152bbdd233f838e011a84a1170c7278a0b4 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 6 Jun 2011 20:36:21 +0000 Subject: Merge Boost.Build from trunk. [SVN r72443] --- bootstrap.sh | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index fd4fdd6fad..8dea77f30a 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -185,7 +185,7 @@ my_dir="." # Determine the toolset, if not already decided if test "x$TOOLSET" = x; then - guessed_toolset=`$my_dir/tools/build/v2/engine/src/build.sh --guess-toolset` + guessed_toolset=`$my_dir/tools/build/v2/engine/build.sh --guess-toolset` case $guessed_toolset in acc | darwin | gcc | como | mipspro | pathscale | pgi | qcc | vacpp ) TOOLSET=$guessed_toolset @@ -215,7 +215,7 @@ rm -f config.log if test "x$BJAM" = x; then echo -n "Building Boost.Jam with toolset $TOOLSET... " pwd=`pwd` - (cd "$my_dir/tools/build/v2/engine/src" && ./build.sh "$TOOLSET") > bootstrap.log 2>&1 + (cd "$my_dir/tools/build/v2/engine" && ./build.sh "$TOOLSET") > bootstrap.log 2>&1 if [ $? -ne 0 ]; then echo echo "Failed to build Boost.Jam" @@ -223,17 +223,18 @@ if test "x$BJAM" = x; then exit 1 fi cd "$pwd" - arch=`cd $my_dir/tools/build/v2/engine/src && ./bootstrap/jam0 -d0 -f build.jam --toolset=$TOOLSET --toolset-root= --show-locate-target && cd ..` - BJAM="$my_dir/tools/build/v2/engine/src/$arch/bjam" - echo "tools/build/v2/engine/src/$arch/bjam" + arch=`cd $my_dir/tools/build/v2/engine && ./bootstrap/jam0 -d0 -f build.jam --toolset=$TOOLSET --toolset-root= --show-locate-target && cd ..` + BJAM="$my_dir/tools/build/v2/engine/$arch/b2" + echo "tools/build/v2/engine/$arch/b2" cp "$BJAM" . + cp "$my_dir/tools/build/v2/engine/$arch/bjam" . + fi # TBD: Turn BJAM into an absolute path # If there is a list of libraries if test "x$flag_show_libraries" = xyes; then - libraries=`$BJAM -d0 --show-libraries` cat <