]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Add os.path.realpath
authorgdd <gdd>
Wed, 27 Jun 2012 09:44:40 +0000 (09:44 +0000)
committergdd <gdd>
Wed, 27 Jun 2012 09:44:40 +0000 (09:44 +0000)
bin/killSalomeWithPort.py
bin/salome_session.py

index a8a046904547ae7953de6f79b0d4edcf4a9a38f7..57729aa88a3601a7e0a2ffd7647817b7acdfa1df 100755 (executable)
@@ -93,7 +93,7 @@ def appliCleanOmniOrbConfig(port):
         #Run outside application context
         pass
     else:
-        dir = os.path.join(home, appli,"USERS")
+        dir = os.path.join(os.path.realpath(home), appli,"USERS")
         omniorb_config      = generateFileName(dir, prefix="omniORB",
                                                extension="cfg",
                                                hidden=True,
@@ -152,7 +152,7 @@ def shutdownMyPort(port):
     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
     omniorb_config = generateFileName(home, prefix="omniORB",
index 81a04a05880cca835a4545c7e36f20f9c4c1520a..d2ca5b09439b6cdbfc4b3f999fc0940fa31d8bee 100644 (file)
@@ -69,7 +69,7 @@ def searchFreePort():
             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",
                                               extension="cfg",