mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 20:37:43 +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;
|
||||
if HelpLang = '' then
|
||||
begin
|
||||
ConfFileName:=SetDirSeparators(GetPrimaryConfigPath+'/'+EnvOptsConfFileName);
|
||||
ConfFileName:=TrimFilename(SetDirSeparators(GetPrimaryConfigPath+'/'+EnvOptsConfFileName));
|
||||
try
|
||||
Cfg:=TXMLConfig.Create(ConfFileName);
|
||||
try
|
||||
|
@ -4549,7 +4549,7 @@ begin
|
||||
debugln([' The Lazarus directory is not set. Pass parameter --lazarusdir.']);
|
||||
end else if not DirPathExistsCached(PkgLinks.GetGlobalLinkDirectory)
|
||||
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;
|
||||
if APackage.AutoCreated then
|
||||
|
Loading…
Reference in New Issue
Block a user