summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelly Washington <kelly@lindenlab.com>2008-08-07 22:21:05 +0000
committerKelly Washington <kelly@lindenlab.com>2008-08-07 22:21:05 +0000
commit748822967fad6f023b8626bda924c5a0f484684f (patch)
tree8fdc955787f8005c348fe1ef07c9ed51416a2278
parent3fd18de4502c8713278d7a03229c8b48ca92a4af (diff)
DEV-18965 Unable to save scripts when running a sim on windows.
Hardcoded assumptions that the services were offered on the same host as the region which isn't true for windows development. NOT TESTED WITH A LINUX SIMULATOR
-rw-r--r--indra/copy_win_scripts/start-client.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/copy_win_scripts/start-client.py b/indra/copy_win_scripts/start-client.py
index fe3906ccb1..5f7ff2f293 100644
--- a/indra/copy_win_scripts/start-client.py
+++ b/indra/copy_win_scripts/start-client.py
@@ -38,6 +38,10 @@ def start_client(grid, slurl, build_config, my_args):
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",
@@ -53,7 +57,7 @@ if __name__ == "__main__":
sys.exit(0)
slurl = llstart.get_config("slurl")
- if slurl == "":
+ if slurl == None:
if region is None:
region = llstart.get_user_name()
slurl = "//%s/128/128/" % (region)