mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
Try to make sure we have an absolute path for executables
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32291 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e6fca186b1
commit
c7c3b61563
2 changed files with 4 additions and 0 deletions
|
@ -269,6 +269,9 @@ GSPrivateExecutablePath()
|
|||
{
|
||||
executablePath
|
||||
= [[[NSProcessInfo processInfo] arguments] objectAtIndex: 0];
|
||||
}
|
||||
if (NO == [executablePath isAbsolutePath])
|
||||
{
|
||||
executablePath = AbsolutePathOfExecutable(executablePath, YES);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue