mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 17:50:19 +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;
|
Dir: string;
|
||||||
begin
|
begin
|
||||||
DoDirSeparators(DirectoryName);
|
DoDirSeparators(DirectoryName);
|
||||||
|
DirectoryName:=IncludeTrailingPathDelimiter(DirectoryName);
|
||||||
i:=1;
|
i:=1;
|
||||||
while i<=length(DirectoryName) do begin
|
while i<=length(DirectoryName) do begin
|
||||||
if DirectoryName[i]=PathDelim then begin
|
if DirectoryName[i]=PathDelim then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user