Explorar o código

* Set the global- and local-prefix from older config versions correctly

git-svn-id: trunk@35788 -
joost %!s(int64=8) %!d(string=hai) anos
pai
achega
3d16dfbc0b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      packages/fppkg/src/pkgoptions.pp

+ 2 - 0
packages/fppkg/src/pkgoptions.pp

@@ -876,12 +876,14 @@ begin
   CurrentSection.RepositoryName:='global';
   CurrentSection.Description:='global';
   CurrentSection.Path:=ACompilerOptions.GlobalInstallDir;
+  CurrentSection.Prefix:=ACompilerOptions.GlobalPrefix;
   FSectionList.Add(CurrentSection);
 
   CurrentSection := TFppkgRepositoryOptionSection.Create(FOptionParser);
   CurrentSection.RepositoryName:='local';
   CurrentSection.Description:='local';
   CurrentSection.Path:=ACompilerOptions.LocalInstallDir;
+  CurrentSection.Prefix:=ACompilerOptions.LocalPrefix;
   FSectionList.Add(CurrentSection);
 
   if CommandLineSection.InstallRepository='' then