Implemented experimental library resource bundle versioning

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24841 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nicola 2007-03-09 19:09:08 +00:00
parent ca884351b2
commit 661c84a01d
8 changed files with 177 additions and 41 deletions

View file

@ -273,7 +273,7 @@ static NSString *_time_zone_path(NSString *subpath, NSString *type)
NSBundle *gbundle;
if (type == nil)
type = @"";
gbundle = [NSBundle bundleForLibrary: @"gnustep-base"];
gbundle = [NSBundle bundleForClass: [NSObject class]];
return [gbundle pathForResource: subpath
ofType: type
inDirectory: TIME_ZONE_DIR];