From c6e095a32630aa2554f7e63cc9688bb063f9461a Mon Sep 17 00:00:00 2001
From: Oz Linden <oz@lindenlab.com>
Date: Thu, 19 Apr 2012 06:53:26 -0700
Subject: use build directory argument directly

---
 indra/newview/viewer_manifest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'indra')

diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index cc55e1512b..86d542029a 100644
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -92,8 +92,8 @@ 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')
+                # ... and the included spell checking dictionaries
+                pkgdir = os.path.join(self.args['build'], '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");
-- 
cgit v1.2.3