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

index 3bd95d620358848b8f3421dd74db4fe8e579cb42..e397ba801abe419de1e4f4f770122855019f4ccb 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)