create and delete a fake directory before creating .atoms directory 99/14399/2
Antoine ELIAS [Fri, 11 Apr 2014 09:42:48 +0000 (11:42 +0200)]
Change-Id: I18862a912a8c2766bc697decded4c651798c87cf

scilab/modules/atoms/macros/atoms_internals/atomsAUWriteAccess.sci

index b85cf7e..41809f9 100644 (file)
@@ -27,6 +27,8 @@ function res = atomsAUWriteAccess()
     // Physical test
 
     if ~ isdir(atoms_system_directory) then
+        mkdir(SCI + "/.scilab");
+        rmdir(SCI + "/.scilab");
         if mkdir(atoms_system_directory) <> 1 then
             return;
         end