summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmSystemTools.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 358edd0..32f69fc 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -186,6 +186,10 @@ bool cmSystemTools::MakeDirectory(const char* path)
return false;
}
}
+ if(!cmSystemTools::FileExists(path))
+ {
+ return false;
+ }
return true;
}