summaryrefslogtreecommitdiff
path: root/indra/develop.py
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2008-09-15 16:27:28 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2008-09-15 16:27:28 +0000
commit07b856b7a492e3cc9d29203b1395d3ed283394fc (patch)
treea0f27e1a46998b351acb0c4652d9a62ec83a8a2e /indra/develop.py
parent53869a091c9afb50f93b1c4a403bbe68e7167012 (diff)
Revert r96619 for now
Diffstat (limited to 'indra/develop.py')
-rwxr-xr-xindra/develop.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/develop.py b/indra/develop.py
index 131fcc9ec9..a96ea0a6c9 100755
--- a/indra/develop.py
+++ b/indra/develop.py
@@ -141,7 +141,6 @@ class PlatformSetup(object):
# do a sanity check to make sure we have a generator
if not hasattr(self, 'generator'):
raise "No generator available for '%s'" % (self.__name__,)
- src_dir = os.path.dirname(os.path.realpath(sys.argv[0]))
cwd = os.getcwd()
created = []
try:
@@ -152,7 +151,7 @@ class PlatformSetup(object):
simple = False
try:
os.chdir(d)
- cmd = self.cmake_commandline(src_dir, d, args, simple)
+ cmd = self.cmake_commandline(cwd, d, args, simple)
print 'Running %r in %r' % (cmd, d)
self.run(cmd, 'cmake')
finally: