Explorar o código

* Do not handle packages twice, when they are passed on the command line

git-svn-id: trunk@16463 -
joost %!s(int64=15) %!d(string=hai) anos
pai
achega
cedede9e81
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      utils/fppkg/fppkg.pp

+ 4 - 1
utils/fppkg/fppkg.pp

@@ -333,7 +333,10 @@ begin
       // It's a command or target.
         begin
           if HasAction then
-            ParaPackages.Add(Paramstr(i))
+            begin
+              if FirstPass then
+                ParaPackages.Add(Paramstr(i))
+            end
           else
             begin
               ParaAction:=Paramstr(i);