diff options
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/develop.py | 3 |
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: |