mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:50:47 +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
|
@ -173,7 +173,6 @@ static id<GSSoundSvr> the_server = nil;
|
|||
|
||||
if (cmd == nil && recursion == NO)
|
||||
{
|
||||
#ifdef GNUSTEP_BASE_LIBRARY
|
||||
NSEnumerator *enumerator;
|
||||
NSString *path;
|
||||
NSFileManager *mgr;
|
||||
|
@ -190,16 +189,13 @@ static id<GSSoundSvr> the_server = nil;
|
|||
break;
|
||||
}
|
||||
}
|
||||
#else
|
||||
cmd = RETAIN([@GNUSTEP_TOOLS_NO_DESTDIR
|
||||
stringByAppendingPathComponent: @"gnustep_sndd"]);
|
||||
#endif
|
||||
}
|
||||
|
||||
if (recursion == YES || cmd == nil)
|
||||
{
|
||||
NSLog(@"Unable to contact sound server - "
|
||||
@"please ensure that gnustep_sndd is running for %@.", description);
|
||||
@"please ensure that gnustep_sndd is running for %@.",
|
||||
description);
|
||||
return nil;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue