summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-06-08 01:41:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-06-08 01:41:53 (GMT)
commit32ccf38c58b1eac0578f8689e0dd7760a754d483 (patch)
tree4ae09787391d42b6385ce2d09f05fd3d70e0d4c1 /Source/kwsys
parenta2949c204d02baf8253e8787178cfd5de36f8fd9 (diff)
downloadCMake-32ccf38c58b1eac0578f8689e0dd7760a754d483.zip
CMake-32ccf38c58b1eac0578f8689e0dd7760a754d483.tar.gz
CMake-32ccf38c58b1eac0578f8689e0dd7760a754d483.tar.bz2
BUG: undo last bug fix because it breaks cmake, rebuild_cache on ParaView gets tons of errors about not being able to create the bin directory
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/SystemTools.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index b99b55d..d0601ff 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -235,15 +235,9 @@ const char* SystemTools::GetExecutableExtension()
bool SystemTools::MakeDirectory(const char* path)
{
- if(SystemTools::FileIsDirectory(path))
- {
- return true;
- }
-
- // Do not make a directory on top of a file.
if(SystemTools::FileExists(path))
{
- return false;
+ return true;
}
kwsys_stl::string dir = path;
if(dir.size() == 0)