diff options
author | Oz Linden <oz@lindenlab.com> | 2012-04-19 05:55:00 -0700 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-04-19 05:55:00 -0700 |
commit | 9e477c595c893b4bfe1f84cf0f5ef426eb751555 (patch) | |
tree | adad813d7a0daaeefcac7492762e70595e9554ae /indra/newview/viewer_manifest.py | |
parent | b02132f927c29187e1031f38ef8884f86f115132 (diff) |
try forcing use of build prefix to copy dictionaries
Diffstat (limited to 'indra/newview/viewer_manifest.py')
-rw-r--r-- | indra/newview/viewer_manifest.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index 7c0358311b..cc55e1512b 100644 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -52,11 +52,6 @@ class ViewerManifest(LLManifest): 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 dictionaries 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"): self.exclude("logcontrol.xml") @@ -96,6 +91,14 @@ class ViewerManifest(LLManifest): # ... and the entire windlight directory self.path("windlight") + + # ... and the pre-installed spell checking dictionaries + pkgdir = os.path.join(self.get_build_prefix(), 'packages') + print "Trying to change src to %s" % (pkgdir); + if self.prefix(src=pkgdir,dst=""): + print "Trying dictionaries relative to %s with %s" % (self.get_src_prefix(), "dictionaries"); + self.path("dictionaries") + self.end_prefix(pkgdir) self.end_prefix("app_settings") if self.prefix(src="character"): |