From 748822967fad6f023b8626bda924c5a0f484684f Mon Sep 17 00:00:00 2001
From: Kelly Washington <kelly@lindenlab.com>
Date: Thu, 7 Aug 2008 22:21:05 +0000
Subject: [PATCH] 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

---
 indra/copy_win_scripts/start-client.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/indra/copy_win_scripts/start-client.py b/indra/copy_win_scripts/start-client.py
index fe3906ccb1f..5f7ff2f293f 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 @@ def start_client(grid, slurl, build_config, my_args):
             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)
-- 
GitLab