git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37594 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2014-01-13 15:19:34 +00:00
parent afd37cae6c
commit 971f71a2af

View file

@ -2303,10 +2303,13 @@ if (domainMask & mask) \
*/
path = devroot(mgr, gnustepSystemTools);
/* Failing that, try looking above the base library.
*/
path = devroot(mgr,
[[NSBundle bundleForLibrary: @"gnustep-base"] bundlePath]);
/* Failing that, try looking above the base library.
*/
if (nil == path)
{
path = devroot(mgr,
[[NSBundle bundleForLibrary: @"gnustep-base"] bundlePath]);
}
/* If we havent found the developer area relative to the
* hierarchy used by the current process, look for the