mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 12:52:33 +02:00
IDE: ignore read only PO output directories for packages
git-svn-id: trunk@12720 -
This commit is contained in:
parent
ecf446c193
commit
dce6093a4d
@ -427,6 +427,11 @@ begin
|
||||
Result:=true;
|
||||
if (RSTDirectory='') then exit;// nothing to do
|
||||
RSTDirectory:=AppendPathDelim(RSTDirectory);
|
||||
if not DirectoryIsWritableCached(RSTDirectory) then begin
|
||||
// only update writable directories
|
||||
DebugLn(['ConvertRSTFiles skipping read only directory ',RSTDirectory]);
|
||||
exit(true);
|
||||
end;
|
||||
|
||||
// find all .rst files in package output directory
|
||||
PODirectory:=AppendPathDelim(PODirectory);
|
||||
|
@ -2709,6 +2709,7 @@ begin
|
||||
exit(mrOK);
|
||||
end;
|
||||
|
||||
PkgOutputDirectory:=AppendPathDelim(APackage.GetOutputDirectory);
|
||||
if not ConvertRSTFiles(PkgOutputDirectory,RSTOutputDirectory) then begin
|
||||
DebugLn(['TLazPackageGraph.ConvertPackageRSTFiles FAILED: PkgOutputDirectory=',PkgOutputDirectory,' RSTOutputDirectory=',RSTOutputDirectory]);
|
||||
exit(mrCancel);
|
||||
|
Loading…
Reference in New Issue
Block a user