mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 10:39:09 +02:00
Revert using current dir as a base dir for LazarusDirectory. Issue #39671.
This commit is contained in:
parent
d2701ed5d1
commit
3a6e1341f5
@ -3490,10 +3490,9 @@ begin
|
|||||||
eopLazarusDirectory:
|
eopLazarusDirectory:
|
||||||
// lazarus directory
|
// lazarus directory
|
||||||
begin
|
begin
|
||||||
|
ParsedValue:=TrimAndExpandDirectory(ParsedValue,GetPrimaryConfigPath);
|
||||||
if ParsedValue='' then
|
if ParsedValue='' then
|
||||||
ParsedValue:=AppendPathDelim(GetCurrentDirUTF8)
|
ParsedValue:=TrimFilename(AppendPathDelim(GetCurrentDirUTF8));
|
||||||
else
|
|
||||||
ParsedValue:=TrimAndExpandDirectory(ParsedValue,GetCurrentDirUTF8);
|
|
||||||
end;
|
end;
|
||||||
eopFPCSourceDirectory,eopTestBuildDirectory:
|
eopFPCSourceDirectory,eopTestBuildDirectory:
|
||||||
// directory
|
// directory
|
||||||
|
Loading…
Reference in New Issue
Block a user