summaryrefslogtreecommitdiff
path: root/morphlib/buildcommand.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-07-11 14:25:40 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2014-07-11 14:25:40 +0100
commitce1fedb4e5ab82105853c4f3a8e05fb83f62c18e (patch)
tree6a738f64b517992eed10c3d5891bbb27840202e4 /morphlib/buildcommand.py
parentfe4486c1ec69c520a2c0aee7b52c35b57808120e (diff)
parent597f2a19363b7e91b928d814627c9236779998fb (diff)
downloadmorph-ce1fedb4e5ab82105853c4f3a8e05fb83f62c18e.tar.gz
Merge remote-tracking branch 'origin/baserock/richardmaw/S11284/morphologies-by-path-v4'
Reviewed-by: Sam Thursfield Reviewed-by: Lars Wirzenius
Diffstat (limited to 'morphlib/buildcommand.py')
-rw-r--r--morphlib/buildcommand.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py
index f68046e3..45c6ef00 100644
--- a/morphlib/buildcommand.py
+++ b/morphlib/buildcommand.py
@@ -231,7 +231,7 @@ class BuildCommand(object):
for spec in specs:
repo_name = spec.get('repo') or src.repo_name
ref = spec.get('ref') or src.original_ref
- filename = '%s.morph' % spec['morph']
+ filename = morphlib.util.sanitise_morphology_path(spec['morph'])
logging.debug(
'Validating cross ref to %s:%s:%s' %
(repo_name, ref, filename))