Browse Source

Check if directory was actually created

Andy Cedilnik 23 years ago
parent
commit
8fd2ec6e91
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Source/cmSystemTools.cxx

+ 4 - 0
Source/cmSystemTools.cxx

@@ -186,6 +186,10 @@ bool cmSystemTools::MakeDirectory(const char* path)
       return false;
       return false;
       }
       }
     }
     }
+  if(!cmSystemTools::FileExists(path))
+    {
+    return false;
+    }
   return true;
   return true;
 }
 }