From a5d9c4a0e725d0ba3894c6506e642f99301af7ef Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Wed, 16 Jul 2014 15:07:42 +0100 Subject: Use sanitise_morphology_path in serialise_artifact --- morphlib/plugins/distbuild_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1