mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-16 00:21:50 +00:00
Added comment about danger of using GNUSTEP_SYSTEM_ROOT env variable to locate resources
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24624 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5585d73061
commit
916e3f496b
1 changed files with 5 additions and 0 deletions
|
@ -148,6 +148,11 @@ int GSWApplicationMainReal(NSString* applicationClassName,
|
|||
int i=0;
|
||||
BOOL loadResult=NO;
|
||||
int frameworksCount=[frameworks count];
|
||||
/* FIXME: This should use gnustep-base's NSPathUtilities API
|
||||
* to search for things. GNUSTEP_SYSTEM_ROOT might not even
|
||||
* be defined under FHS! gnustep-base's NSPathUtilities API
|
||||
* will always work under all filesystem layouts.
|
||||
*/
|
||||
NSString* GNUstepRoot=[[[NSProcessInfo processInfo]environment]
|
||||
objectForKey:@"GNUSTEP_SYSTEM_ROOT"];
|
||||
NSDebugFLLog(@"bundles",@"GNUstepRoot=%@",GNUstepRoot);
|
||||
|
|
Loading…
Reference in a new issue