summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-04 15:03:38 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-04 15:03:38 (GMT)
commit6cb01848fbcb542100152930169a64f1a20cba6b (patch)
tree81595543da0957fc9b2832b7d15afc60cceb86ef /bootstrap
parent7bc8413a0f4761e7c5a5fb1cccc8350f3d47f47d (diff)
downloadCMake-6cb01848fbcb542100152930169a64f1a20cba6b.zip
CMake-6cb01848fbcb542100152930169a64f1a20cba6b.tar.gz
CMake-6cb01848fbcb542100152930169a64f1a20cba6b.tar.bz2
BUG: Handle when initial cmake fails
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 4 insertions, 0 deletions
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 "---------------------------------------------"