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:
Nicola Pero 2007-02-18 02:12:45 +00:00
parent 5585d73061
commit 916e3f496b

View file

@ -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);