diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-18 23:34:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-18 23:34:19 +0100 |
| commit | 9ede36a45bde78cc2e440188f5385e4213a5c7c9 (patch) | |
| tree | 8a16e04bc4512cb2f0dc0222a32cbce61243b438 | |
| parent | d4d022bcb07c813cbc66f16048ee21cf17cb936a (diff) | |
Try to fix debian chroots.
| -rwxr-xr-x | cdist | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -152,7 +152,7 @@ class Environment(object): def build_dependencies(self, target, project): if 'dependencies' in project.cscript: for d in project.cscript['dependencies'](target): - self.build(target, Project(d)) + self.build(target, Project(d[0], d[1])) def build(self, target, project): self.checkout(project) @@ -274,7 +274,7 @@ class WindowsEnvironment(HostEnvironment): class Target: def __init__(self, name): - if name.startswith('ubuntu-'): + if name.startswith('ubuntu-') or name.startswith('debian-'): self.platform = 'linux' self.version = name.split('-')[1] self.bits = int(name.split('-')[2]) |
