mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 11:43:58 +02:00
IDE: open package link check if directory
git-svn-id: trunk@59452 -
This commit is contained in:
parent
7a10b4efe1
commit
b05d125ae0
@ -953,6 +953,11 @@ begin
|
||||
PkgLink.LPKFileDateValid:=false;
|
||||
exit(mrCancel);
|
||||
end;
|
||||
if DirectoryExistsUTF8(AFilename) then begin
|
||||
DebugLn('Note: (lazarus) Invalid Package Link: file "'+AFilename+'" is a directory.');
|
||||
PkgLink.LPKFileDateValid:=false;
|
||||
exit(mrCancel);
|
||||
end;
|
||||
if pvPkgSearch in Verbosity then
|
||||
debugln(['Info: (lazarus) Open dependency: package file found: "'+AFilename+'". Parsing lpk ...']);
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user