diff --git a/bootstrap.sh b/bootstrap.sh index 9e615a1b3..2caf67eea 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -108,7 +108,7 @@ if [ ! -z "${DESIRED_BOOST_DIR}" ]; then else # New way of installing boost: # Check whether we have the required boost packages installed - (BOOST_VERSION=$(echo -e '#include \nBOOST_LIB_VERSION' | gcc -s -x c++ -E - 2>/dev/null| grep "^[^#;]" | tr -d '\"')) || true + { BOOST_VERSION=$(echo -e '#include \nBOOST_LIB_VERSION' | gcc -s -x c++ -E - 2>/dev/null| grep "^[^#;]" | tr -d '\"'); } || true if [ -z "$BOOST_VERSION" ] ;then if [ -x "$(command -v pacman)" ]; then