diff --git a/bootstrap.sh b/bootstrap.sh index c49d0a728d..2b5bfe397f 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -84,7 +84,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 '\"') + (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