diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-05-15 12:46:26 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-05-15 12:46:26 +0300 |
commit | bf1235b017b254ba989b156c73c4ce18ba4e6c23 (patch) | |
tree | 8dd5dad68be3aa5cda16938cc3bfaa70f6faad41 /indra/copy_win_scripts/start-client.py | |
parent | 1e9e5a7b7629276d509c352699fb5891c2dc6587 (diff) | |
parent | e7eced3c87310b15ac20cc3cd470d67686104a14 (diff) |
Merge branch 'marchcat/w-whitespace' into marchcat/x-mf-merge
Diffstat (limited to 'indra/copy_win_scripts/start-client.py')
-rwxr-xr-x | indra/copy_win_scripts/start-client.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/copy_win_scripts/start-client.py b/indra/copy_win_scripts/start-client.py index 6e5628c211..c6f045349b 100755 --- a/indra/copy_win_scripts/start-client.py +++ b/indra/copy_win_scripts/start-client.py @@ -29,7 +29,7 @@ import llstart def usage(): print("""start-client.py - + --grid <grid> --farm <grid> --region <starting region name> @@ -52,20 +52,20 @@ def start_client(grid, slurl, build_config, my_args): # Figure out path stuff. # The client should run from indra/newview # but the exe is at indra/build-<xxx>/newview/<target> - build_path = os.path.dirname(os.getcwd()); + build_path = os.path.dirname(os.getcwd()); f = open("start-client.log", "w") print("Viewer startup arguments:", file=f) - llstart.start("viewer", "../../newview", + llstart.start("viewer", "../../newview", "%s/newview/%s/secondlife-bin.exe" % (build_path, build_config), viewer_args, f) f.close() if __name__ == "__main__": grid = llstart.get_config("grid") - + if grid == None: grid = "aditi" - + build_config = llstart.get_config("build_config") my_args = llstart.get_config("viewer_args", force_dict = True) opts, args = getopt.getopt(sys.argv[1:], "u:r:f:g:i:h", @@ -79,8 +79,8 @@ if __name__ == "__main__": if o in ("-h", "--help"): usage() sys.exit(0) - - slurl = llstart.get_config("slurl") + + slurl = llstart.get_config("slurl") if slurl == None: if region is None: region = llstart.get_user_name() @@ -88,5 +88,5 @@ if __name__ == "__main__": # Ensure the slurl has quotes around it. if slurl is not None: slurl = '"%s"' % (slurl.strip('"\'')) - + start_client(grid, slurl, build_config, my_args) |