Răsfoiți Sursa

Merge bootstrap.sh fixes

[SVN r53017]
Vladimir Prus 17 ani în urmă
părinte
comite
0f9b851463
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      bootstrap.sh

+ 3 - 3
bootstrap.sh

@@ -216,11 +216,11 @@ if test "x$BJAM" = x; then
   echo -n "Building Boost.Jam with toolset $TOOLSET... "
   echo -n "Building Boost.Jam with toolset $TOOLSET... "
   pwd=`pwd`
   pwd=`pwd`
   cd "$my_dir/tools/jam/src" && ./build.sh "$TOOLSET" > config.log 2>&1
   cd "$my_dir/tools/jam/src" && ./build.sh "$TOOLSET" > config.log 2>&1
-  cd $pwd
+  cd "$pwd"
   arch=`cd $my_dir/tools/jam/src && ./bootstrap/jam0 -d0 -f build.jam --toolset=$TOOLSET --toolset-root= --show-locate-target && cd ..`
   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"
   BJAM="$my_dir/tools/jam/src/$arch/bjam"
   echo "tools/jam/src/$arch/bjam"
   echo "tools/jam/src/$arch/bjam"
-  cp $BJAM .
+  cp "$BJAM" .
 fi
 fi
 
 
 # TBD: Turn BJAM into an absolute path
 # TBD: Turn BJAM into an absolute path
@@ -249,7 +249,7 @@ if test "x$EPREFIX" = x; then
 fi
 fi
 
 
 if test "x$LIBDIR" = x; then
 if test "x$LIBDIR" = x; then
-  LIBDIR="$EXPREFIX/lib"
+  LIBDIR="$EPREFIX/lib"
 fi
 fi
 
 
 if test "x$INCLUDEDIR" = x; then
 if test "x$INCLUDEDIR" = x; then

粤ICP备19079148号