equal
deleted
inserted
replaced
19 ROOT_PATH = os.path.abspath(os.path.dirname(__file__)) |
19 ROOT_PATH = os.path.abspath(os.path.dirname(__file__)) |
20 |
20 |
21 if sys.platform == "win32": |
21 if sys.platform == "win32": |
22 CONE_SCRIPT = "cone.cmd" |
22 CONE_SCRIPT = "cone.cmd" |
23 else: |
23 else: |
24 CONE_SCRIPT = "cone.sh" |
24 CONE_SCRIPT = "cone" |
25 |
25 |
26 def get_cmd(action): |
26 def get_cmd(action): |
27 """Return the command used to run the ConE sub-action""" |
27 """Return the command used to run the ConE sub-action""" |
28 if 'CONE_PATH' in os.environ: |
28 if 'CONE_PATH' in os.environ: |
29 CONE_CMD = os.path.join(os.environ['CONE_PATH'], CONE_SCRIPT) |
29 CONE_CMD = os.path.join(os.environ['CONE_PATH'], CONE_SCRIPT) |