diff options
author | David <david@xagasoft.com> | 2006-09-14 21:51:00 +0000 |
---|---|---|
committer | David <david@xagasoft.com> | 2006-09-14 21:51:00 +0000 |
commit | c831a3947d7ac517fceaf8981d56c5ddcdaf26b1 (patch) | |
tree | 0d2951f0b15e10f6a38399f945f191342d02f009 /src/rule.cpp | |
parent | 9adf03ea002df33791109743e368f7420bf4043c (diff) | |
download | build-c831a3947d7ac517fceaf8981d56c5ddcdaf26b1.tar.gz build-c831a3947d7ac517fceaf8981d56c5ddcdaf26b1.tar.bz2 build-c831a3947d7ac517fceaf8981d56c5ddcdaf26b1.tar.xz build-c831a3947d7ac517fceaf8981d56c5ddcdaf26b1.zip |
david - a couple of random things mike told me to fix
Diffstat (limited to '')
-rw-r--r-- | src/rule.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rule.cpp b/src/rule.cpp index c5ed1c2..3ba4303 100644 --- a/src/rule.cpp +++ b/src/rule.cpp | |||
@@ -98,14 +98,14 @@ StringList Rule::execute( Build &bld, StringList &lInput, PerformList &lPerf ) | |||
98 | for( PerformList::iterator k = lPerform.begin(); | 98 | for( PerformList::iterator k = lPerform.begin(); |
99 | k != lPerform.end(); k++ ) | 99 | k != lPerform.end(); k++ ) |
100 | { | 100 | { |
101 | Perform *p = (*k)->duplicate( bld, (*i), &mTmp ); | 101 | Perform *p = (*k)->duplicate( bld, target, &mTmp ); |
102 | p->setTarget( target ); | 102 | p->setTarget( target ); |
103 | p->setRule( sName ); | 103 | p->setRule( sName ); |
104 | for( FunctionList::iterator f = lReqFuncs.begin(); | 104 | for( FunctionList::iterator f = lReqFuncs.begin(); |
105 | f != lReqFuncs.end(); f++ ) | 105 | f != lReqFuncs.end(); f++ ) |
106 | { | 106 | { |
107 | p->getReqFuncs().push_back( | 107 | p->getReqFuncs().push_back( |
108 | (*f)->duplicate( bld, (*i), &mTmp ) | 108 | (*f)->duplicate( bld, target, &mTmp ) |
109 | ); | 109 | ); |
110 | } | 110 | } |
111 | lPerf.push_back( p ); | 111 | lPerf.push_back( p ); |