mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
6fb9b78161
commit
445d287303
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>
|
2011-05-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/Additions/GSMime.m:
|
* Source/Additions/GSMime.m:
|
||||||
|
|
|
@ -287,7 +287,11 @@ GSPrivateExecutablePath()
|
||||||
{
|
{
|
||||||
executablePath = AbsolutePathOfExecutable(executablePath, YES);
|
executablePath = AbsolutePathOfExecutable(executablePath, YES);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
executablePath = [executablePath stringByResolvingSymlinksInPath];
|
||||||
|
executablePath = [executablePath stringByStandardizingPath];
|
||||||
|
}
|
||||||
IF_NO_GC([executablePath retain];)
|
IF_NO_GC([executablePath retain];)
|
||||||
beenHere = YES;
|
beenHere = YES;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue