summaryrefslogtreecommitdiff
path: root/utils/fppkg
diff options
context:
space:
mode:
authorjoost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-11-28 17:08:39 +0000
committerjoost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-11-28 17:08:39 +0000
commit36c41ec93be4043f90c6c31d83f31dc411fd5a0a (patch)
tree1106df1c2929c258dcdc91e6ae35f015a1acb6ad /utils/fppkg
parentd5e06bff4f404366f676afcb1ec21e5c95b8fa17 (diff)
downloadfpc-36c41ec93be4043f90c6c31d83f31dc411fd5a0a.tar.gz
* Do not handle packages twice, when they are passed on the command line
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16463 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'utils/fppkg')
-rw-r--r--utils/fppkg/fppkg.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/fppkg/fppkg.pp b/utils/fppkg/fppkg.pp
index 44870b58e5..f413387654 100644
--- a/utils/fppkg/fppkg.pp
+++ b/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);