preparation for osx compatibility fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35390 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2012-08-10 08:36:09 +00:00
parent b618b41512
commit 897390797f
10 changed files with 66 additions and 16 deletions

View file

@ -913,7 +913,10 @@ main(int argc, char **argv, char **env)
if ([documentationDirectory length] > 0
&& [mgr fileExistsAtPath: documentationDirectory] == NO)
{
[mgr createDirectoryAtPath: documentationDirectory attributes: nil];
[mgr createDirectoryAtPath: documentationDirectory
withIntermediateDirectories: YES
attributes: nil
error: NULL];
}
symbolDeclsFile = [documentationDirectory
@ -2359,7 +2362,10 @@ main(int argc, char **argv, char **env)
file = [stamp stringByDeletingLastPathComponent];
if ([file length]> 0 && [mgr fileExistsAtPath: file] == NO)
{
[mgr createDirectoryAtPath: file attributes: nil];
[mgr createDirectoryAtPath: file
withIntermediateDirectories: YES
attributes: nil
error: NULL];
}
[depend writeToFile: stamp atomically: YES];
}