mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 22:20:25 +02:00
fix ForceDirectory that partially creates a dir if ending char is not PathDelim, for example package output directory will be created correctly
git-svn-id: trunk@13055 -
This commit is contained in:
parent
589f0665d7
commit
8ff99369dd
@ -603,6 +603,7 @@ var i: integer;
|
||||
Dir: string;
|
||||
begin
|
||||
DoDirSeparators(DirectoryName);
|
||||
DirectoryName:=IncludeTrailingPathDelimiter(DirectoryName);
|
||||
i:=1;
|
||||
while i<=length(DirectoryName) do begin
|
||||
if DirectoryName[i]=PathDelim then begin
|
||||
|
Loading…
Reference in New Issue
Block a user