[ARVADOS] updated: 8fa8b34bcc334388d8c885e3f0e192503fdb7616

git at public.curoverse.com git at public.curoverse.com
Thu May 8 22:05:29 EDT 2014


Summary of changes:
 sdk/python/run_test_server.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

       via  8fa8b34bcc334388d8c885e3f0e192503fdb7616 (commit)
      from  1ca9c477ffa476305a920a0df7ae1e8d5b69c8b2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 8fa8b34bcc334388d8c885e3f0e192503fdb7616
Author: Ward Vandewege <ward at curoverse.com>
Date:   Thu May 8 22:05:12 2014 -0400

    Do not blindly overwrite GOPATH if it exists.

diff --git a/sdk/python/run_test_server.py b/sdk/python/run_test_server.py
index 9ded55d..fce8981 100644
--- a/sdk/python/run_test_server.py
+++ b/sdk/python/run_test_server.py
@@ -125,7 +125,11 @@ def run_keep():
 
     cwd = os.getcwd()
     os.chdir(os.path.join(os.path.dirname(__file__), KEEP_SERVER_DIR))
-    os.environ["GOPATH"] = os.getcwd()
+    if os.environ.get('GOPATH') == None:
+        os.environ["GOPATH"] = os.getcwd()
+    else:
+        os.environ["GOPATH"] = os.getcwd() + ":" + os.environ["GOPATH"]
+
     subprocess.call(["go", "install", "keep"])
 
     if not os.path.exists("tmp"):

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list