]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Good appliPath even if we launch Salome from a symbolic link V8_5_BR
authoruhz <ulysse.humbert-gonzalez@opencascade.com>
Wed, 18 Jul 2018 13:15:52 +0000 (15:15 +0200)
committerrnv <rnv@opencascade.com>
Wed, 18 Jul 2018 13:35:16 +0000 (16:35 +0300)
bin/appliskel/salome

index 37430157e53cbb61bdf70a6172c84e08fe3eb741..c2ac938f9e17a983b0a35ff3c4ccc2847d8561a9 100755 (executable)
@@ -20,7 +20,7 @@ def main(args):
         env_modules_option += "%s" % ','.join(env_modules)
         args.append(env_modules_option)
 
-    appliPath = os.path.realpath(os.path.dirname(os.path.abspath(__file__)))
+    appliPath = os.path.dirname(os.path.realpath(__file__))
     proc = subprocess.Popen([os.path.join(appliPath, '.salome_run')] + args, close_fds=True)
     out, err = proc.communicate()
     sys.exit(proc.returncode)