mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-24 04:02:05 +00:00
Fix failure to locate tools
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27215 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
09955c2002
commit
19b84c87b4
7 changed files with 17 additions and 38 deletions
|
@ -1273,9 +1273,7 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
|
|||
*/
|
||||
if (path == nil)
|
||||
{
|
||||
#ifdef GNUSTEP_BASE_LIBRARY
|
||||
NSEnumerator *enumerator;
|
||||
NSString *path;
|
||||
|
||||
enumerator = [NSSearchPathForDirectoriesInDomains(
|
||||
GSToolsDirectory, NSAllDomainsMask, YES) objectEnumerator];
|
||||
|
@ -1288,10 +1286,6 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
|
|||
break;
|
||||
}
|
||||
}
|
||||
#else
|
||||
path = RETAIN([@GNUSTEP_TOOLS_NO_DESTDIR
|
||||
stringByAppendingPathComponent: @"make_services"]);
|
||||
#endif
|
||||
}
|
||||
task = [NSTask launchedTaskWithLaunchPath: path
|
||||
arguments: nil];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue