Commit 19d22df5 authored by Gabriel Monnerat's avatar Gabriel Monnerat

added hack to join the full path

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@40397 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bd7ea977
......@@ -6,7 +6,7 @@ from getopt import getopt, GetoptError
from time import sleep
from cloudooo.utils import socketStatus
from ConfigParser import ConfigParser
from os import chdir, path, environ
from os import chdir, path, environ, curdir
from subprocess import Popen
ENVIRONMENT_PATH = path.abspath(path.dirname(__file__))
......@@ -68,6 +68,8 @@ def run():
elif opt == "--cloudooo_runner":
cloudooo_runner = arg
elif opt == "--server_cloudooo_conf":
if arg.startswith(curdir):
arg = path.join(path.abspath(curdir), arg)
server_cloudooo_conf = arg
environ["server_cloudooo_conf"] = arg
elif opt == "--timeout_limit":
......
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