From 6cb01848fbcb542100152930169a64f1a20cba6b Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 4 Mar 2005 10:03:38 -0500 Subject: BUG: Handle when initial cmake fails --- bootstrap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap b/bootstrap index 96fde5e..9614793 100755 --- a/bootstrap +++ b/bootstrap @@ -964,6 +964,10 @@ export MAKE # Run bootstrap CMake to configure real CMake "${cmake_bootstrap_dir}/cmake" "${cmake_source_dir}" "-C${cmake_bootstrap_dir}/InitialCacheFlags.cmake" +RES=$? +if [ "${RES}" -ne "0" ]; then + cmake_error 11 "Problem while running initial CMake" +fi echo "---------------------------------------------" -- cgit v0.12