Commit 724a6da5 by sikang

update script

parent ef09ff21
......@@ -7,7 +7,7 @@ import sys
path = "../../../gradle.properties"
gw_url=os.popen('. ../../../gradle.properties\necho "${gateway_url}"').read().replace('\n', '')
if len(sys.argv[1]) > 5:
if len(sys.argv) > 1:
gw_url=sys.argv[1]
print(gw_url)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment