diff options
| author | Brad Linden <brad@lindenlab.com> | 2024-05-23 11:31:19 -0700 |
|---|---|---|
| committer | Brad Linden <brad@lindenlab.com> | 2024-05-23 11:31:19 -0700 |
| commit | a1f49564d670a2c41bfa25c833bba2564b9b7f48 (patch) | |
| tree | 1d205e51bc37621916a17d459ad83782fe41f975 /indra/copy_win_scripts/start-client.py | |
| parent | 6af5db09faf5ea33a2d4c47b64e76f42edae178a (diff) | |
| parent | 6377610f6587989c126b00f490dfc8d527a1c2ce (diff) | |
Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into brad/merge-maint-a-to-dev
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) |
