fix main bundle path

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33088 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-05-23 10:51:58 +00:00
parent 55cd4ef60b
commit afc2ef7de8
2 changed files with 10 additions and 1 deletions

View file

@ -287,7 +287,11 @@ GSPrivateExecutablePath()
{
executablePath = AbsolutePathOfExecutable(executablePath, YES);
}
else
{
executablePath = [executablePath stringByResolvingSymlinksInPath];
executablePath = [executablePath stringByStandardizingPath];
}
IF_NO_GC([executablePath retain];)
beenHere = YES;
}