2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00

Fix process of dependency properties

[SVN r64462]
This commit is contained in:
Vladimir Prus
2010-07-30 10:04:07 +00:00
parent f82fc1e38e
commit eb1102beb7

View File

@@ -414,7 +414,6 @@ def translate_dependencies(properties, project_id, location):
result.append(p)
else:
v = p.value()
print "value", v, "id", project_id
m = re.match("(.*)//(.*)", v)
if m:
rooted = m.group(1)
@@ -422,7 +421,7 @@ def translate_dependencies(properties, project_id, location):
# Either project id or absolute Linux path, do nothing.
pass
else:
rooted = os.path.join(os.getcwd(), location, rooted[0])
rooted = os.path.join(os.getcwd(), location, rooted)
result.append(Property(p.feature(), rooted + "//" + m.group(2), p.condition()))