| Index: site_scons/site_tools/replicate.py
|
| ===================================================================
|
| --- site_scons/site_tools/replicate.py (revision 4549)
|
| +++ site_scons/site_tools/replicate.py (working copy)
|
| @@ -105,9 +105,12 @@
|
| target_name = re.sub(r[0], r[1], target_name)
|
| target = env.File(target_name)
|
| if (target.has_builder()
|
| + and hasattr(target.get_builder(), 'name')
|
| and target.get_builder().name == 'InstallBuilder'
|
| and target.sources == [s]):
|
| # Already installed that file, so pass through the destination node
|
| + # TODO(rspangler): Is there a better way to determine if this is a
|
| + # duplicate install?
|
| dest_nodes += [target]
|
| else:
|
| dest_nodes += env.InstallAs(target_name, s)
|
|
|