summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--morphlib/builder2.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py
index 6f24e7af..b5ef89e3 100644
--- a/morphlib/builder2.py
+++ b/morphlib/builder2.py
@@ -138,8 +138,9 @@ class ChunkBuilder(BuilderBase):
# FIXME: This is ugly, but the best I can do atm. We need
# to combine sub.path, which is a relative path, with the
# directory in the cache where the git repos are. --liw
- sub_path = os.path.join(cache_dir, sub.path)
- return [(sub_path, sub.commit, os.path.join(destdir, sub.path))
+ return [(os.path.join(cache_dir, sub.path),
+ sub.commit,
+ os.path.join(destdir, sub.path))
for sub in submodules]
s = self.artifact.source