mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-21 12:18:20 +02:00
do not append directory separator when it is already there, as // equals /../ on Amiga, fixes smartlinked RTL build
git-svn-id: trunk@26126 -
This commit is contained in:
parent
6cd62437f9
commit
3d07b35d77
@ -297,7 +297,7 @@ Implementation
|
|||||||
var
|
var
|
||||||
dir : TRawByteSearchRec;
|
dir : TRawByteSearchRec;
|
||||||
begin
|
begin
|
||||||
if findfirst(s+source_info.dirsep+'*'+AExt,faAnyFile,dir) = 0 then
|
if findfirst(FixPath(s,false)+'*'+AExt,faAnyFile,dir) = 0 then
|
||||||
begin
|
begin
|
||||||
repeat
|
repeat
|
||||||
DeleteFile(s+source_info.dirsep+dir.name);
|
DeleteFile(s+source_info.dirsep+dir.name);
|
||||||
|
Loading…
Reference in New Issue
Block a user