summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorWill Schroeder <will.schroeder@kitware.com>2004-10-18 22:11:42 (GMT)
committerWill Schroeder <will.schroeder@kitware.com>2004-10-18 22:11:42 (GMT)
commit20461af1e622ea97cca19bbaaaaff06219191453 (patch)
treeef8cc138b5d9e4768a6e02592252d7bff4b8885d /bootstrap
parent922bdc36023e1f8674cfecf3d70b5a8e86e24f05 (diff)
downloadCMake-20461af1e622ea97cca19bbaaaaff06219191453.zip
CMake-20461af1e622ea97cca19bbaaaaff06219191453.tar.gz
CMake-20461af1e622ea97cca19bbaaaaff06219191453.tar.bz2
COMP: Fix on sun
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index f32a2a0..a7c885f 100755
--- a/bootstrap
+++ b/bootstrap
@@ -356,7 +356,7 @@ fi
# If this is not an in-source build, then Bootstrap stuff should not exist.
if [ -z "${cmake_in_source_build}" ]; then
# Did somebody bootstrap in the source tree?
- if [ -e "${cmake_source_dir}/Bootstrap.cmk" ]; then
+ if [ -d "${cmake_source_dir}/Bootstrap.cmk" ]; then
cmake_error 10 "Found directory \"${cmake_source_dir}/Bootstrap.cmk\".
Looks like somebody did bootstrap CMake in the source tree, but now you are
trying to do bootstrap in the binary tree. Please remove Bootstrap.cmk
@@ -364,7 +364,7 @@ directory from the source tree."
fi
# Is there a cache in the source tree?
for cmake_problematic_file in ${CMAKE_PROBLEMATIC_FILES}; do
- if [ -e "${cmake_source_dir}/${cmake_problematic_file}" ]; then
+ if [ -f "${cmake_source_dir}/${cmake_problematic_file}" ]; then
cmake_error 10 "Found \"${cmake_source_dir}/${cmake_problematic_file}\".
Looks like somebody tried to build CMake in the source tree, but now you are
trying to do bootstrap in the binary tree. Please remove \"${cmake_problematic_file}\"