mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
55cd4ef60b
commit
afc2ef7de8
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-05-23 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSBundle.m:
|
||||
Fixe to resolve links and standardize path to current executable.
|
||||
|
||||
2011-05-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Additions/GSMime.m:
|
||||
|
|
|
@ -287,7 +287,11 @@ GSPrivateExecutablePath()
|
|||
{
|
||||
executablePath = AbsolutePathOfExecutable(executablePath, YES);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
executablePath = [executablePath stringByResolvingSymlinksInPath];
|
||||
executablePath = [executablePath stringByStandardizingPath];
|
||||
}
|
||||
IF_NO_GC([executablePath retain];)
|
||||
beenHere = YES;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue