mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:50:48 +00:00
[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:
parent
0b44f3e1b4
commit
2cf38b74c4
1 changed files with 6 additions and 0 deletions
|
@ -746,9 +746,15 @@ inFileViewerRootedAtPath: (NSString *)rootFullpath
|
||||||
*/
|
*/
|
||||||
if (path == nil)
|
if (path == nil)
|
||||||
{
|
{
|
||||||
|
#ifdef GNUSTEP_BASE_LIBRARY
|
||||||
path = RETAIN([[NSSearchPathForDirectoriesInDomains(
|
path = RETAIN([[NSSearchPathForDirectoriesInDomains(
|
||||||
GSToolsDirectory, NSSystemDomainMask, YES) objectAtIndex: 0]
|
GSToolsDirectory, NSSystemDomainMask, YES) objectAtIndex: 0]
|
||||||
stringByAppendingPathComponent: @"make_services"]);
|
stringByAppendingPathComponent: @"make_services"]);
|
||||||
|
#else
|
||||||
|
path = RETAIN([[@GNUSTEP_INSTALL_PREFIX
|
||||||
|
stringByAppendingPathComponent: @"Tools"]
|
||||||
|
stringByAppendingPathComponent: @"make_services"]);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
task = [NSTask launchedTaskWithLaunchPath: path
|
task = [NSTask launchedTaskWithLaunchPath: path
|
||||||
arguments: nil];
|
arguments: nil];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue