IDE: package po files: fixed check for read only output directory

git-svn-id: trunk@15925 -
This commit is contained in:
mattias 2008-07-31 10:28:59 +00:00
parent 09821d6e7d
commit dbbebe8dd7

View File

@ -192,7 +192,8 @@ begin
Result:=true;
if (RSTDirectory='') then exit;// nothing to do
RSTDirectory:=AppendPathDelim(RSTDirectory);
if not DirectoryIsWritableCached(RSTDirectory) then begin
PODirectory:=AppendPathDelim(PODirectory);
if not DirectoryIsWritableCached(PODirectory) then begin
// only update writable directories
DebugLn(['ConvertRSTFiles skipping read only directory ',RSTDirectory]);
exit(true);