summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2008-09-16 21:59:48 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2008-09-16 21:59:48 +0000
commit7920b59c9c557f8108219ff91de5bda14265d448 (patch)
treec3c32a3a254e4626b409d8761b7a82b7978a87b0
parenta8b7f114e70cb596340130e5038c3f8f45733d65 (diff)
DEV-16938: use per-build-type build trees on Linux
-rwxr-xr-xindra/develop.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/develop.py b/indra/develop.py
index a96ea0a6c9..c3b1b12652 100755
--- a/indra/develop.py
+++ b/indra/develop.py
@@ -230,10 +230,12 @@ class LinuxSetup(UnixSetup):
def build_dirs(self):
# Only build the server code if (a) we have it and (b) we're
# on 32-bit x86.
+ platform_build = '%s-%s' % (self.platform(), self.build_type.lower())
+
if self.arch() == 'i686' and self.is_internal_tree():
- return ['viewer-' + self.platform(), 'server-' + self.platform()]
+ return ['viewer-' + platform_build, 'server-' + platform_build]
else:
- return ['viewer-' + self.platform()]
+ return ['viewer-' + platform_build]
def find_in_path(self, name, defval=None, basename=False):
for p in os.getenv('PATH', '/usr/bin').split(':'):