Explorar o código

* Use separate repositories for each compiler
version by adding the version-number to the repository url

git-svn-id: trunk@29244 -

joost %!s(int64=10) %!d(string=hai) anos
pai
achega
6c29775e09
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      packages/fppkg/src/pkgrepos.pp

+ 4 - 1
packages/fppkg/src/pkgrepos.pp

@@ -154,7 +154,10 @@ begin
       else
         CurrentRemoteRepositoryURL:=GlobalOptions.RemoteRepository;
     end;
-  Result:=CurrentRemoteRepositoryURL+AFileName;
+  result := CurrentRemoteRepositoryURL;
+  if result[length(result)]<>'/' then
+    result := result + '/';
+  Result:=Result+CompilerOptions.CompilerVersion+'/'+AFileName;
 end;