From 8fd2ec6e91da696202d218df7a3c0834d8c47626 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Sun, 6 Oct 2002 18:56:09 -0400 Subject: [PATCH] Check if directory was actually created --- Source/cmSystemTools.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 358edd024..32f69fc5b 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; }