summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-08-01 12:35:03 (GMT)
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-08-01 12:35:03 (GMT)
commitae84534592b7f74cc630189fe3254c36b99b0c8d (patch)
treea1c7a85d15732437e57fb2e602f6a8d511f9e987 /morphlib
parentd70fff8964989a8b00d183e1280389cca319c164 (diff)
parente1bc560426dd9aeb953fe7ae41ef7c251855b755 (diff)
downloadmorph-ae84534592b7f74cc630189fe3254c36b99b0c8d.tar.gz
Merge remote-tracking branch 'remotes/origin/baserock/richardmaw/bugfix/distbuild-eglibc'
Diffstat (limited to 'morphlib')
-rw-r--r--morphlib/stagingarea.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/stagingarea.py b/morphlib/stagingarea.py
index 124edab..0126b4d 100644
--- a/morphlib/stagingarea.py
+++ b/morphlib/stagingarea.py
@@ -65,8 +65,8 @@ class StagingArea(object):
os.makedirs(dirname)
def _dir_for_source(self, source, suffix):
- dirname = os.path.join(self.dirname,
- '%s.%s' % (source.morphology['name'], suffix))
+ basename = '%s.%s' % (str(source.morphology['name']), suffix)
+ dirname = os.path.join(self.dirname, basename)
self._mkdir(dirname)
return dirname