summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-07-16 15:07:42 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-07-31 17:05:47 +0000
commita5d9c4a0e725d0ba3894c6506e642f99301af7ef (patch)
tree8aad812c7bacac872b073862e82d88b281abfa25
parent9a9445c47f25d919483a6e798e789dbf32e9310f (diff)
downloadmorph-a5d9c4a0e725d0ba3894c6506e642f99301af7ef.tar.gz
Use sanitise_morphology_path in serialise_artifact
-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)