mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-06 12:38:29 +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
|
||||
dir : TRawByteSearchRec;
|
||||
begin
|
||||
if findfirst(s+source_info.dirsep+'*'+AExt,faAnyFile,dir) = 0 then
|
||||
if findfirst(FixPath(s,false)+'*'+AExt,faAnyFile,dir) = 0 then
|
||||
begin
|
||||
repeat
|
||||
DeleteFile(s+source_info.dirsep+dir.name);
|
||||
|
Loading…
Reference in New Issue
Block a user