diff options
| author | don bright <hugh.m.bright@gmail.com> | 2013-02-01 02:47:02 (GMT) | 
|---|---|---|
| committer | don bright <hugh.m.bright@gmail.com> | 2013-02-01 02:47:02 (GMT) | 
| commit | 684e023e849f5ab971d3901d1932ce21ddc3f8e2 (patch) | |
| tree | 89497ec9d710450fdcbf73534d4b30f7c1001473 /scripts | |
| parent | 01aaec33573a49705c9028966df2cbd15c9c4c61 (diff) | |
detect if boost build fails, print msg and exit
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/uni-build-dependencies.sh | 11 | 
1 files changed, 8 insertions, 3 deletions
| diff --git a/scripts/uni-build-dependencies.sh b/scripts/uni-build-dependencies.sh index 6550dcc..3b6a241 100755 --- a/scripts/uni-build-dependencies.sh +++ b/scripts/uni-build-dependencies.sh @@ -62,7 +62,7 @@ build_qt4()    QTDIR=$DEPLOYDIR    export QTDIR    echo "----------" -  echo " Please set QTDIR to $DEPLOYDIR ( or run '. scripts/setenv-unibuild.sh' ) +  echo " Please set QTDIR to $DEPLOYDIR ( or run '. scripts/setenv-unibuild.sh' )"    echo "----------"  } @@ -208,7 +208,12 @@ build_boost()      fi    else      ./b2 -j$NUMCPU -    ./b2 install +    if [ $? = 0 ]; then +      ./b2 install +    else +      echo boost build failed +      exit 1 +    fi    fi  } @@ -465,7 +470,7 @@ fi  build_eigen 3.1.1  build_gmp 5.0.5  build_mpfr 3.1.1 -build_boost 1.49.0 +build_boost 1.52.0  # NB! For CGAL, also update the actual download URL in the function  build_cgal 4.0.2  build_glew 1.9.0 | 
