Просмотр исходного кода

Fix formatting of `./bootstrap.sh --show-libraries`.

Patch from Cedric Le Dillau.
Fixes #4691.


[SVN r65852]
Vladimir Prus 15 лет назад
Родитель
Сommit
c8347735ea
1 измененных файлов с 1 добавлено и 5 удалено
  1. 1 5
      bootstrap.sh

+ 1 - 5
bootstrap.sh

@@ -233,7 +233,6 @@ fi
 
 # If there is a list of libraries 
 if test "x$flag_show_libraries" = xyes; then
-  libraries=`$BJAM -d0 --show-libraries`
   cat <<EOF
 
 The following Boost libraries have portions that require a separate build
@@ -242,10 +241,7 @@ the headers only.
 
 The Boost libraries requiring separate building and installation are:
 EOF
-  for lib in $libraries
-  do
-    echo "         $lib"
-  done
+  $BJAM -d0 --show-libraries | grep '^\s*-'
   exit 0
 fi
 

粤ICP备19079148号