summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-17 08:02:44 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-17 08:02:44 -0400
commit1181ac5ee71f820ac8363b12d262fbff509ce5e2 (patch)
tree9d9d475230ecb83ecd23831b31b12d8ff367f7df /configure
parent65422964f793ad1004bf07cbc3021e80e7c241cd (diff)
downloadcmake-1181ac5ee71f820ac8363b12d262fbff509ce5e2.tar.gz
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 319226b3e4..9f7a6d7832 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