Skip to content
Snippets Groups Projects
Commit a167b551 authored by Oz Linden's avatar Oz Linden
Browse files

rearrange dictionary copying

parent df38250c
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,11 @@ def construct(self):
self.exclude("*.svn*")
self.path(src="../../scripts/messages/message_template.msg", dst="app_settings/message_template.msg")
self.path(src="../../etc/message.xml", dst="app_settings/message.xml")
# add the pre-installed spell checking dictionaries
dictdir = os.path.join(os.pardir, 'packages', 'dictionaries')
print "Trying dictionary relative to %s with %s" % (self.get_src_prefix(), dictdir);
self.path(src=dictdir,
dst=os.path.join("app_settings","dictionaries")
if self.is_packaging_viewer():
if self.prefix(src="app_settings"):
......@@ -91,11 +96,6 @@ def construct(self):
# ... and the entire windlight directory
self.path("windlight")
# ... and the pre-installed spell checking dictionaries
dictdir = os.path.join(os.pardir, os.pardir, self.args['configuration'], 'packages/dictionaries')
print "Trying dictionary relative to %s with %s" % (self.get_build_prefix(), dictdir);
self.path(src=dictdir,
dst="dictionaries")
self.end_prefix("app_settings")
if self.prefix(src="character"):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment