pass exec_path from context to local, making it obsolete to manually add the argument to the _link_types_for_emulator

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-11-01 13:30:45 +01:00
commit 6771a13758
3 changed files with 10 additions and 8 deletions

View file

@ -59,7 +59,7 @@ class Context(object):
self.temp_dir = tempfile.mkdtemp()
self.out_path = os.path.join(self.temp_dir, "out")
self.local = local.Local(self.target_host, conf_dirs, self.out_path)
self.local = local.Local(self.target_host, conf_dirs, self.out_path, self.exec_path)
self.initial_manifest = (initial_manifest or
os.path.join(self.local.manifest_path, "init"))