Fixed looking up gnustep-base resources with custom layout; try to catch serious filesystem config errors early on in configure

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24747 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2007-03-02 03:30:22 +00:00
parent d5ed49570f
commit 8b7a80b537
4 changed files with 6557 additions and 6724 deletions

View file

@ -2213,9 +2213,10 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
return nil;
}
tail = [@"Resources" stringByAppendingPathComponent: libraryName];
tail = [@"Libraries" stringByAppendingPathComponent:
[@"Resources" stringByAppendingPathComponent: libraryName]];
paths = NSSearchPathForDirectoriesInDomains (GSLibrariesDirectory,
paths = NSSearchPathForDirectoriesInDomains (NSLibraryDirectory,
NSAllDomainsMask, YES);
enumerator = [paths objectEnumerator];