summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-08-01 12:09:32 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-08-01 12:09:32 +0100
commitd70fff8964989a8b00d183e1280389cca319c164 (patch)
tree8aad812c7bacac872b073862e82d88b281abfa25 /morphlib
parent9a9445c47f25d919483a6e798e789dbf32e9310f (diff)
parenta5d9c4a0e725d0ba3894c6506e642f99301af7ef (diff)
downloadmorph-d70fff8964989a8b00d183e1280389cca319c164.tar.gz
Merge branch 'liw/distbuild-fixes-ripsum-only'
Reviewed-by: Richard Maw (+2)
Diffstat (limited to 'morphlib')
-rw-r--r--morphlib/plugins/distbuild_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/plugins/distbuild_plugin.py b/morphlib/plugins/distbuild_plugin.py
index c60dee6e..50ab7eeb 100644
--- a/morphlib/plugins/distbuild_plugin.py
+++ b/morphlib/plugins/distbuild_plugin.py
@@ -59,7 +59,7 @@ class SerialiseArtifactPlugin(cliapp.Plugin):
raise cliapp.AppException('Must get triplet')
repo_name, ref, morph_name = args
- filename = '%s.morph' % morph_name
+ filename = morphlib.util.sanitise_morphology_path(morph_name)
build_command = morphlib.buildcommand.BuildCommand(self.app)
srcpool = build_command.create_source_pool(repo_name, ref, filename)
artifact = build_command.resolve_artifacts(srcpool)