aboutsummaryrefslogtreecommitdiff
path: root/Foundation
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-06-14 15:30:11 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-06-14 15:30:11 +0000
commit812fc139e0a33be66d7af0c4e070b76e739d317c (patch)
tree416f7af78b629f18d2e9d1057f95dcfff4f29c7d /Foundation
parent710b29f591a1ea8a37927b9abfc10aa14fdcfd90 (diff)
[Author: thomasvl]
Fix place attributes aren't passed for older Mac OS versions. TBR=dmaclach
Diffstat (limited to 'Foundation')
-rw-r--r--Foundation/GTMPath.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Foundation/GTMPath.m b/Foundation/GTMPath.m
index df9e47f..6c79aa9 100644
--- a/Foundation/GTMPath.m
+++ b/Foundation/GTMPath.m
@@ -126,7 +126,7 @@
attributes:attributes
error:&error];
#else
- BOOL created = [mgr createDirectoryAtPath:newPath attributes:nil];
+ BOOL created = [mgr createDirectoryAtPath:newPath attributes:attributes];
#endif // MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
nascentPath = created ? [GTMPath pathWithFullPath:newPath] : nil;
}