mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-21 03:19:25 +01:00
* Set the global- and local-prefix from older config versions correctly
git-svn-id: trunk@35788 -
This commit is contained in:
parent
b14f277e8f
commit
3d16dfbc0b
@ -876,12 +876,14 @@ begin
|
|||||||
CurrentSection.RepositoryName:='global';
|
CurrentSection.RepositoryName:='global';
|
||||||
CurrentSection.Description:='global';
|
CurrentSection.Description:='global';
|
||||||
CurrentSection.Path:=ACompilerOptions.GlobalInstallDir;
|
CurrentSection.Path:=ACompilerOptions.GlobalInstallDir;
|
||||||
|
CurrentSection.Prefix:=ACompilerOptions.GlobalPrefix;
|
||||||
FSectionList.Add(CurrentSection);
|
FSectionList.Add(CurrentSection);
|
||||||
|
|
||||||
CurrentSection := TFppkgRepositoryOptionSection.Create(FOptionParser);
|
CurrentSection := TFppkgRepositoryOptionSection.Create(FOptionParser);
|
||||||
CurrentSection.RepositoryName:='local';
|
CurrentSection.RepositoryName:='local';
|
||||||
CurrentSection.Description:='local';
|
CurrentSection.Description:='local';
|
||||||
CurrentSection.Path:=ACompilerOptions.LocalInstallDir;
|
CurrentSection.Path:=ACompilerOptions.LocalInstallDir;
|
||||||
|
CurrentSection.Prefix:=ACompilerOptions.LocalPrefix;
|
||||||
FSectionList.Add(CurrentSection);
|
FSectionList.Add(CurrentSection);
|
||||||
|
|
||||||
if CommandLineSection.InstallRepository='' then
|
if CommandLineSection.InstallRepository='' then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user