Skip to content
Snippets Groups Projects
Commit 32ccf38c authored by Bill Hoffman's avatar Bill Hoffman
Browse files

BUG: undo last bug fix because it breaks cmake, rebuild_cache on ParaView gets...

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
parent a2949c20
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment