From: vsr Date: Thu, 7 Jun 2012 10:07:22 +0000 (+0000) Subject: 0021482: [CEA 539] inconsistency between getAppliPath.py and runAppli X-Git-Tag: V6_6_0a1~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9fd4da5465da072ebdb1d13cd6ce123d652d53a6;p=modules%2Fkernel.git 0021482: [CEA 539] inconsistency between getAppliPath.py and runAppli --- diff --git a/bin/runSalome.py b/bin/runSalome.py index c4b62a01c..c56da55cf 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -431,7 +431,7 @@ def startSalome(args, modules_list, modules_root_dir): appli = os.getenv("APPLI") kwargs={} if appli is not None: - home = os.path.join(home, appli,"USERS") + home = os.path.join(os.path.realpath(home), appli,"USERS") kwargs["with_username"] = True pass last_running_config = generateFileName(home, prefix="omniORB", @@ -485,7 +485,7 @@ def startSalome(args, modules_list, modules_root_dir): home = os.environ['HOME'] appli= os.environ.get("APPLI") if appli is not None: - home = os.path.join(home, appli, "USERS") + home = os.path.join(os.path.realpath(home), appli, "USERS") file_name = os.path.join(home, args["ns_port_log_file"]) f = open(file_name, "w") f.write(os.environ['NSPORT']) @@ -851,7 +851,7 @@ def searchFreePort(args, save_config=1): appli = os.getenv("APPLI") kwargs={} if appli is not None: - home = os.path.join(home, appli,"USERS") + home = os.path.join(os.path.realpath(home), appli,"USERS") kwargs["with_username"]=True # omniorb_config = generateFileName(home, prefix="omniORB",