IDE: fixed loading env opts for console help

git-svn-id: trunk@36299 -
This commit is contained in:
mattias 2012-03-24 22:01:01 +00:00
parent 4581d30178
commit 99e00c2ff9
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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