mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 14:01:49 +02:00
IDE: fixed loading env opts for console help
git-svn-id: trunk@36299 -
This commit is contained in:
parent
4581d30178
commit
99e00c2ff9
@ -1215,7 +1215,7 @@ begin
|
|||||||
HelpLang := GetLanguageSpecified;
|
HelpLang := GetLanguageSpecified;
|
||||||
if HelpLang = '' then
|
if HelpLang = '' then
|
||||||
begin
|
begin
|
||||||
ConfFileName:=SetDirSeparators(GetPrimaryConfigPath+'/'+EnvOptsConfFileName);
|
ConfFileName:=TrimFilename(SetDirSeparators(GetPrimaryConfigPath+'/'+EnvOptsConfFileName));
|
||||||
try
|
try
|
||||||
Cfg:=TXMLConfig.Create(ConfFileName);
|
Cfg:=TXMLConfig.Create(ConfFileName);
|
||||||
try
|
try
|
||||||
|
@ -4549,7 +4549,7 @@ begin
|
|||||||
debugln([' The Lazarus directory is not set. Pass parameter --lazarusdir.']);
|
debugln([' The Lazarus directory is not set. Pass parameter --lazarusdir.']);
|
||||||
end else if not DirPathExistsCached(PkgLinks.GetGlobalLinkDirectory)
|
end else if not DirPathExistsCached(PkgLinks.GetGlobalLinkDirectory)
|
||||||
then begin
|
then begin
|
||||||
debugln([' The lpl directory is missing. Check that the Lazarus directory is correct.']);
|
debugln([' The lpl directory is missing. Check that the Lazarus (--lazarusdir) directory is correct.']);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
if APackage.AutoCreated then
|
if APackage.AutoCreated then
|
||||||
|
Loading…
Reference in New Issue
Block a user