diff options
author | joost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2010-11-28 17:08:39 +0000 |
---|---|---|
committer | joost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2010-11-28 17:08:39 +0000 |
commit | 36c41ec93be4043f90c6c31d83f31dc411fd5a0a (patch) | |
tree | 1106df1c2929c258dcdc91e6ae35f015a1acb6ad /utils/fppkg | |
parent | d5e06bff4f404366f676afcb1ec21e5c95b8fa17 (diff) | |
download | fpc-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.pp | 5 |
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); |