mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
fix broken tool resource lookup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30212 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f577a0757f
commit
1e4abff2fa
2 changed files with 7 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-04-21 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSBundle.m: ([mainBundle]) Fix error determining whether
|
||||||
|
the bundle is an app or not ... was breaking lookup of tool resources.
|
||||||
|
|
||||||
2010-04-19 Richard Frith-Macdonald <rfm@gnu.org>
|
2010-04-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/cifframe.m (cifframe_type): Fix the cached information
|
* Source/cifframe.m (cifframe_type): Fix the cached information
|
||||||
|
|
|
@ -1054,17 +1054,12 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
||||||
&& [s hasSuffix: @".gswa"] == NO // GNUstep Web
|
&& [s hasSuffix: @".gswa"] == NO // GNUstep Web
|
||||||
&& [s hasSuffix: @".woa"] == NO // GNUstep Web
|
&& [s hasSuffix: @".woa"] == NO // GNUstep Web
|
||||||
)
|
)
|
||||||
{
|
|
||||||
/* Well known file extension ... app wrapper format.
|
|
||||||
*/
|
|
||||||
isApplication = YES;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
NSFileManager *mgr = manager();
|
NSFileManager *mgr = manager();
|
||||||
BOOL f;
|
BOOL f;
|
||||||
|
|
||||||
/* Might be an app wrapper with another extension...
|
/* Not one of the common extensions, but
|
||||||
|
* might be an app wrapper with another extension...
|
||||||
* Look for Info-gnustep.plist or Info.plist in a
|
* Look for Info-gnustep.plist or Info.plist in a
|
||||||
* Resources subdirectory.
|
* Resources subdirectory.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue