summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-17 12:02:44 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-17 12:02:44 (GMT)
commit1181ac5ee71f820ac8363b12d262fbff509ce5e2 (patch)
tree9d9d475230ecb83ecd23831b31b12d8ff367f7df /configure
parent65422964f793ad1004bf07cbc3021e80e7c241cd (diff)
downloadCMake-1181ac5ee71f820ac8363b12d262fbff509ce5e2.zip
CMake-1181ac5ee71f820ac8363b12d262fbff509ce5e2.tar.gz
CMake-1181ac5ee71f820ac8363b12d262fbff509ce5e2.tar.bz2
BUG: Rename Bootstrap directory to Bootstrap.cmk, so that on platforms such as Windows and Mac OSX it will break during in-source build
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index 319226b..9f7a6d7 100755
--- a/configure
+++ b/configure
@@ -1681,23 +1681,23 @@ $RUNMAKE
else
PRGNAME=configure # Should be `basename $0`
- DIRNAME=Bootstrap
+ DIRNAME=Bootstrap.cmk
# Check if the bootstrap directory already exists.
- if test -d Bootstrap; then
+ if test -d ${DIRNAME}; then
:
else
# if it does not create one
- mkdir Bootstrap
+ mkdir ${DIRNAME}
fi
if (
# Build bootstrap cmake
- cd Bootstrap
+ cd ${DIRNAME}
echo "Bootstrapping to directory `pwd`"
BUILD_CMAKE_IN_SUBDIR=true $CMAKE_ROOT_DIR/$PRGNAME $ac_configure_args
); then
# run cmake
- Bootstrap/Source/cmake $fullSrcDir
+ ${DIRNAME}/Source/cmake $fullSrcDir
# run cmake depends
$RUNMAKE depend