mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 20:29:14 +02:00
Really change extension of hs1 local variable in get_exepath
git-svn-id: trunk@40236 -
This commit is contained in:
parent
5f1933eecf
commit
d55f80d2f9
@ -1420,7 +1420,7 @@ implementation
|
||||
if localexepath='' then
|
||||
begin
|
||||
hs1 := ExtractFileName(exeName);
|
||||
ChangeFileExt(hs1,source_info.exeext);
|
||||
hs1 := ChangeFileExt(hs1,source_info.exeext);
|
||||
{$ifdef macos}
|
||||
FindFile(hs1,GetEnvironmentVariable('Commands'),false,localExepath);
|
||||
{$else macos}
|
||||
|
Loading…
Reference in New Issue
Block a user