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

This commit is contained in:
Bill Hoffman 2004-06-07 21:41:53 -04:00
parent a2949c204d
commit 32ccf38c58
1 changed files with 1 additions and 7 deletions

View File

@ -235,15 +235,9 @@ const char* SystemTools::GetExecutableExtension()
bool SystemTools::MakeDirectory(const char* path) 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)) if(SystemTools::FileExists(path))
{ {
return false; return true;
} }
kwsys_stl::string dir = path; kwsys_stl::string dir = path;
if(dir.size() == 0) if(dir.size() == 0)