summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-06-26 13:52:46 (GMT)
committerBrad King <brad.king@kitware.com>2013-06-26 13:52:46 (GMT)
commit063617cd18fc162fb82fe451c77bf76fbdd85476 (patch)
tree2cb08eff63dac0f5935870c792d4ca30d2ca69a9 /Source/kwsys
parentbef7c0251e397e6e4e01094c54ce5c3a333cf9ed (diff)
parent045fc841173b97d8754d0dfd75322bd4919c19e6 (diff)
downloadCMake-063617cd18fc162fb82fe451c77bf76fbdd85476.zip
CMake-063617cd18fc162fb82fe451c77bf76fbdd85476.tar.gz
CMake-063617cd18fc162fb82fe451c77bf76fbdd85476.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 7891708..4d5af5e 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -605,7 +605,7 @@ bool SystemTools::MakeDirectory(const char* path)
}
if(SystemTools::FileExists(path))
{
- return true;
+ return SystemTools::FileIsDirectory(path);
}
kwsys_stl::string dir = path;
if(dir.size() == 0)