Merge topic 'update-kwsys'

063617c Merge branch 'upstream-kwsys' into update-kwsys
045fc84 KWSys 2013-06-24 (3d1d4e7c)
This commit is contained in:
Brad King 2013-06-28 09:03:55 -04:00 committed by CMake Topic Stage
commit 2ed149caef
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ bool SystemTools::MakeDirectory(const char* path)
} }
if(SystemTools::FileExists(path)) if(SystemTools::FileExists(path))
{ {
return true; return SystemTools::FileIsDirectory(path);
} }
kwsys_stl::string dir = path; kwsys_stl::string dir = path;
if(dir.size() == 0) if(dir.size() == 0)