mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Bug fix
[SVN r18334]
This commit is contained in:
@@ -20,11 +20,18 @@ include <jam-module>boost-base.jam ;
|
||||
#
|
||||
if $(JAM_VERSION) && $(JAM_VERSION:J="") >= 030101 && $(JAM_VERSION:J="") < 030104
|
||||
{
|
||||
# Only the last invocation of UPDATE takes effect; we must
|
||||
# accumulate the entire list before invoking UPDATE. I always
|
||||
# thought this was a confusing semantics, and probably the fact
|
||||
# that the author of UPDATE got it wrong is proof.
|
||||
|
||||
local t ;
|
||||
for local e in $(ARGV[2-])
|
||||
{
|
||||
if ! [ MATCH "^(-).*" : $(e) ]
|
||||
{
|
||||
UPDATE $(e) ;
|
||||
t += $(e) ;
|
||||
}
|
||||
}
|
||||
UPDATE $(t) ;
|
||||
}
|
||||
|
||||
@@ -20,11 +20,18 @@ include <jam-module>boost-base.jam ;
|
||||
#
|
||||
if $(JAM_VERSION) && $(JAM_VERSION:J="") >= 030101 && $(JAM_VERSION:J="") < 030104
|
||||
{
|
||||
# Only the last invocation of UPDATE takes effect; we must
|
||||
# accumulate the entire list before invoking UPDATE. I always
|
||||
# thought this was a confusing semantics, and probably the fact
|
||||
# that the author of UPDATE got it wrong is proof.
|
||||
|
||||
local t ;
|
||||
for local e in $(ARGV[2-])
|
||||
{
|
||||
if ! [ MATCH "^(-).*" : $(e) ]
|
||||
{
|
||||
UPDATE $(e) ;
|
||||
t += $(e) ;
|
||||
}
|
||||
}
|
||||
UPDATE $(t) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user