From 4c38e5820a20a5c4cd30f2c9d39352f323c5d3ef Mon Sep 17 00:00:00 2001
From: Bryan O'Sullivan <bos@lindenlab.com>
Date: Thu, 30 Oct 2008 18:53:38 +0000
Subject: [PATCH] When running vstool from develop.py, use the correct build
 type.

---
 indra/develop.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/indra/develop.py b/indra/develop.py
index a1e8f59c5dc..2dd7b394105 100755
--- a/indra/develop.py
+++ b/indra/develop.py
@@ -544,11 +544,11 @@ def run_cmake(self, args=[]):
         PlatformSetup.run_cmake(self, args)
         if self.unattended == 'OFF':
             for build_dir in self.build_dirs():
-                vstool_cmd = os.path.join('tools','vstool','VSTool.exe') \
-                             + ' --solution ' \
-                             + os.path.join(build_dir,'SecondLife.sln') \
-                             + ' --config RelWithDebInfo' \
-                             + ' --startup secondlife-bin'
+                vstool_cmd = (os.path.join('tools','vstool','VSTool.exe') +
+                              ' --solution ' +
+                              os.path.join(build_dir,'SecondLife.sln') +
+                              ' --config ' + self.build_type +
+                              ' --startup secondlife-bin')
                 print 'Running %r in %r' % (vstool_cmd, getcwd())
                 self.run(vstool_cmd)        
         
-- 
GitLab