summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-12-21 16:53:31 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-12-21 17:37:31 (GMT)
commit68261f05566f82ea92ba00eb1450c2b2d8d8e42b (patch)
tree367720551f03fa19f8fc81b4be33fd17e431a824 /scripts
parent6f4849a91e62a4ec083a82f443c2b34a2f2b7e71 (diff)
downloaddefinitions-68261f05566f82ea92ba00eb1450c2b2d8d8e42b.tar.gz
scripts/release-build: Load morph files 'correctly'
Recent changes in the definitions format have added VERSION and CHANGES files. The morphlib API needs to be used slightly differently as a result. This change should have no effect on the operation of the script right now, but it may prevent problems in future. Change-Id: I0011eddfeb3a5f14fde36eac4f970d8b3c95984c
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release-build2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release-build b/scripts/release-build
index d199b4a..c45dc15 100755
--- a/scripts/release-build
+++ b/scripts/release-build
@@ -89,7 +89,7 @@ class ReleaseApp(cliapp.Application):
defs_repo = morphlib.definitions_repo.open(
'.', search_for_root=True)
- self.loader = morphlib.morphloader.MorphologyLoader()
+ self.loader = defs_repo.get_morphology_loader()
self.finder = morphlib.morphologyfinder.MorphologyFinder(defs_repo)
self.check_args(args)