From c87ac5c7ff5e2b14a13805a8839ca80bfa00f963 Mon Sep 17 00:00:00 2001 From: uhz Date: Wed, 18 Jul 2018 15:15:52 +0200 Subject: [PATCH] Good appliPath even if we launch Salome from a symbolic link --- bin/appliskel/salome | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/appliskel/salome b/bin/appliskel/salome index 3bd95d620..e397ba801 100755 --- a/bin/appliskel/salome +++ b/bin/appliskel/salome @@ -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) -- 2.39.2