mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-10 00:17:18 +01:00
lazutils; fixed compilation under unix
git-svn-id: trunk@41160 -
This commit is contained in:
parent
d219baae5f
commit
8e652015ad
@ -666,7 +666,7 @@ begin
|
||||
if (FileInfo.Name='.') or (FileInfo.Name='..') or (FileInfo.Name='') then
|
||||
continue;
|
||||
CurFilename:=CurSrcDir+FileInfo.Name;
|
||||
if (FileInfo.Attr and faDirectory)>0
|
||||
if ((FileInfo.Attr and faDirectory)>0)
|
||||
{$ifdef unix} and ((FileInfo.Attr and faSymLink)=0) {$endif unix} then begin
|
||||
if not DeleteDirectory(CurFilename,false) then exit;
|
||||
end else begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user