[findApplications] use hardcoded @GNUSTEP_INSTALL_PREFIX only for

non-GNUstep foundation library.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11598 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2001-12-02 11:44:07 +00:00
parent bd742ab762
commit dfa743ae22

View file

@ -746,9 +746,15 @@ inFileViewerRootedAtPath: (NSString *)rootFullpath
*/
if (path == nil)
{
#ifdef GNUSTEP_BASE_LIBRARY
path = RETAIN([[NSSearchPathForDirectoriesInDomains(
GSToolsDirectory, NSSystemDomainMask, YES) objectAtIndex: 0]
stringByAppendingPathComponent: @"make_services"]);
#else
path = RETAIN([[@GNUSTEP_INSTALL_PREFIX
stringByAppendingPathComponent: @"Tools"]
stringByAppendingPathComponent: @"make_services"]);
#endif
}
task = [NSTask launchedTaskWithLaunchPath: path
arguments: nil];