Forráskód Böngészése

Check if directory was actually created

Andy Cedilnik 23 éve
szülő
commit
8fd2ec6e91
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      Source/cmSystemTools.cxx

+ 4 - 0
Source/cmSystemTools.cxx

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