mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-23 13:19:27 +01:00
codetools: reading fpc unit path: use working directory, not current directory
git-svn-id: trunk@45237 -
This commit is contained in:
parent
de9275761d
commit
20e71e8e42
@ -1545,7 +1545,7 @@ function ParseFPCVerbose(List: TStrings; const WorkDir: string; out
|
||||
Inc(CurPos, 17);
|
||||
NewPath:=SetDirSeparators(copy(Line,CurPos,len));
|
||||
if not FilenameIsAbsolute(NewPath) then
|
||||
NewPath:=ExpandFileNameUTF8(NewPath);
|
||||
NewPath:=ExpFile(NewPath);
|
||||
NewPath:=ChompPathDelim(TrimFilename(NewPath));
|
||||
{$IFDEF VerboseFPCSrcScan}
|
||||
DebugLn('Using unit path: "',NewPath,'"');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user